You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cloudstack.apache.org by bh...@apache.org on 2015/03/25 12:56:09 UTC

git commit: updated refs/heads/4.5 to 666f752

Repository: cloudstack
Updated Branches:
  refs/heads/4.5 e3e59c544 -> 666f75287


appliance: remove raw.img before export a new one

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


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

Branch: refs/heads/4.5
Commit: 666f7528759b6874283efdddf123767478bd5624
Parents: e3e59c5
Author: Rohit Yadav <ro...@shapeblue.com>
Authored: Wed Mar 25 17:25:50 2015 +0530
Committer: Rohit Yadav <ro...@shapeblue.com>
Committed: Wed Mar 25 17:25:50 2015 +0530

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


http://git-wip-us.apache.org/repos/asf/cloudstack/blob/666f7528/tools/appliance/build.sh
----------------------------------------------------------------------
diff --git a/tools/appliance/build.sh b/tools/appliance/build.sh
index 104d9a9..dc200e5 100755
--- a/tools/appliance/build.sh
+++ b/tools/appliance/build.sh
@@ -89,6 +89,7 @@ fi
 set -e
 
 # Export for KVM
+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-$branch-kvm.qcow2