Skip to content

Commit

Permalink
CS-27148 system vm image build process, needs to build an old version…
Browse files Browse the repository at this point in the history
… of qemu image, otherwise, it won't work on RHEL 6 Reviewed-by:Frank
  • Loading branch information
sudison committed Nov 6, 2014
1 parent 103a4dd commit 05bec59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/appliance/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ function kvm_export() {
log INFO "creating kvm export"
local hdd_path="${1}"
vboxmanage internalcommands converttoraw -format vdi "${hdd_path}" raw.img
qemu-img convert -f raw -c -O qcow2 raw.img "${appliance_build_name}-kvm.qcow2"
qemu-img convert -o compat=0.10 -f raw -c -O qcow2 raw.img "${appliance_build_name}-kvm.qcow2"
add_on_exit rm -f raw.img
bzip2 "${appliance_build_name}-kvm.qcow2"
mv "${appliance_build_name}-kvm.qcow2.bz2" dist/
Expand Down

0 comments on commit 05bec59

Please sign in to comment.