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:57:32 UTC
git commit: updated refs/heads/master to 8fe3c0b
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 <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/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 <ro...@shapeblue.com>
Authored: Wed Mar 25 17:27:03 2015 +0530
Committer: Rohit Yadav <ro...@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"