mirror of https://github.com/apache/cloudstack.git
appliance: build systemvm template for KVM compatible with older qemu
Signed-off-by: Rohit Yadav <rohit.yadav@shapeblue.com>
This commit is contained in:
parent
611f2475c7
commit
33744ed658
|
|
@ -90,7 +90,7 @@ set -e
|
|||
|
||||
# Export for KVM
|
||||
vboxmanage internalcommands converttoraw -format vdi "$hdd_path" raw.img
|
||||
qemu-img convert -f raw -c -O qcow2 raw.img $appliance-$branch-$build_date-kvm.qcow2
|
||||
qemu-img convert -o compat=0.10 -f raw -c -O qcow2 raw.img $appliance-$branch-$build_date-kvm.qcow2
|
||||
rm 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