Skip to content

Commit 05bec59

Browse files
committed
CS-27148 system vm image build process, needs to build an old version of qemu image, otherwise, it won't work on RHEL 6 Reviewed-by:Frank
1 parent 103a4dd commit 05bec59

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎tools/appliance/build.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ function kvm_export() {
427427
log INFO "creating kvm export"
428428
local hdd_path="${1}"
429429
vboxmanage internalcommands converttoraw -format vdi "${hdd_path}" raw.img
430-
qemu-img convert -f raw -c -O qcow2 raw.img "${appliance_build_name}-kvm.qcow2"
430+
qemu-img convert -o compat=0.10 -f raw -c -O qcow2 raw.img "${appliance_build_name}-kvm.qcow2"
431431
add_on_exit rm -f raw.img
432432
bzip2 "${appliance_build_name}-kvm.qcow2"
433433
mv "${appliance_build_name}-kvm.qcow2.bz2" dist/

0 commit comments

Comments
 (0)