We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a70a74 commit ffd31f0Copy full SHA for ffd31f0
scripts/push-image.sh
@@ -26,7 +26,8 @@ cd ${path_image}
26
27
# sparsify and rename the image, check the size, compute checksums
28
29
-start_size$(du -h packer-${image} | cut -f1)
+export LIBGUESTFS_BACKEND=direct
30
+start_size=$(du -h packer-${image} | cut -f1)
31
mv packer-${image} ${image}.qcow2.temp
32
virt-sparsify --check-tmpdir ignore --compress --convert qcow2 --format qcow2 ${image}.qcow2.temp ${image}.qcow2
33
final_size=$(du -h ${image}.qcow2 | cut -f1)
0 commit comments