Compress the appliance. master
authorRichard W.M. Jones <rjones@redhat.com>
Wed, 25 Mar 2015 16:59:59 +0000 (16:59 +0000)
committerRichard W.M. Jones <rjones@redhat.com>
Wed, 25 Mar 2015 16:59:59 +0000 (16:59 +0000)
build-appliance.sh.in

index cc93087..bce18db 100644 (file)
@@ -64,6 +64,6 @@ echo "them, but encourage your distro to stop using security-through-obscurity."
 # Copy out the kernel, initrd and disk image.
 mv tmp-appliance.d/kernel .
 mv tmp-appliance.d/initrd .
-qemu-img convert -f raw tmp-appliance.d/root -O qcow2 "$output"
+qemu-img convert -f raw tmp-appliance.d/root -O qcow2 -c "$output"
 
 rm -rf tmp-supermin.d tmp-appliance.d