mirror of https://github.com/apache/cloudstack.git
appliance: remove any stale raw.img file
This fixes a common build issue Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
33744ed658
commit
244c361b50
|
|
@ -89,9 +89,10 @@ fi
|
|||
set -e
|
||||
|
||||
# Export for KVM
|
||||
rm -f raw.img
|
||||
vboxmanage internalcommands converttoraw -format vdi "$hdd_path" raw.img
|
||||
qemu-img convert -o compat=0.10 -f raw -c -O qcow2 raw.img $appliance-$branch-$build_date-kvm.qcow2
|
||||
rm raw.img
|
||||
rm -f raw.img
|
||||
bzip2 $appliance-$branch-$build_date-kvm.qcow2
|
||||
echo "$appliance exported for KVM: dist/$appliance-$branch-$build_date-kvm.qcow2.bz2"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue