Compress the qcow2 file.
[supernested.git] / build-supernested.sh.in
index e3c2b10..e5e2a49 100644 (file)
@@ -40,7 +40,7 @@ if [[ "$distro" =~ ^fedora- ]]; then
         grep
         qemu
         qemu-kvm-rhev
-        systemd
+        systemd-udev
         util-linux
     "
 elif [[ "$distro" =~ ^debian- ]]; then
@@ -88,6 +88,6 @@ EOF
 # 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