cloudstack-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bhais...@apache.org
Subject git commit: updated refs/heads/master to 8fe3c0b
Date Wed, 25 Mar 2015 11:57:32 GMT
Repository: cloudstack
Updated Branches:
  refs/heads/master caba04d17 -> 8fe3c0b8b


appliance: remove raw.img before exporting and building template for KVM

Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>


Project: http://git-wip-us.apache.org/repos/asf/cloudstack/repo
Commit: http://git-wip-us.apache.org/repos/asf/cloudstack/commit/8fe3c0b8
Tree: http://git-wip-us.apache.org/repos/asf/cloudstack/tree/8fe3c0b8
Diff: http://git-wip-us.apache.org/repos/asf/cloudstack/diff/8fe3c0b8

Branch: refs/heads/master
Commit: 8fe3c0b8bae2eb477bdddcebf72af8a08acadb24
Parents: caba04d
Author: Rohit Yadav <rohit.yadav@shapeblue.com>
Authored: Wed Mar 25 17:27:03 2015 +0530
Committer: Rohit Yadav <rohit.yadav@shapeblue.com>
Committed: Wed Mar 25 17:27:03 2015 +0530

----------------------------------------------------------------------
 tools/appliance/build.sh | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/8fe3c0b8/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index 06a7bd6..fe0f4e1 100755
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -426,6 +426,7 @@ function kvm_export() {
   if [ ${result} == 0 ]; then
     log INFO "creating kvm export"
     local hdd_path="${1}"
+    rm -f raw.img
     vboxmanage internalcommands converttoraw -format vdi "${hdd_path}" raw.img
     set +e
     qemu-img convert -o compat=0.10 -f raw -c -O qcow2 raw.img "${appliance_build_name}-kvm.qcow2"


Mime
View raw message