mirror of https://github.com/apache/cloudstack.git
appliance: remove raw.img before export a new one
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
e3e59c544c
commit
666f752875
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue