mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 11:52:28 +01:00
system vm image build process, needs to build an old version of qemu image, otherwise, it won't work on RHEL 6
This commit is contained in:
parent
812b0122e2
commit
f506f7c427
@ -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-kvm.qcow2
|
||||
qemu-img convert -o compat=0.10 -f raw -c -O qcow2 raw.img $appliance-$branch-kvm.qcow2
|
||||
rm raw.img
|
||||
bzip2 $appliance-$branch-kvm.qcow2
|
||||
echo "$appliance exported for KVM: dist/$appliance-$branch-kvm.qcow2.bz2"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user