#!/bin/sh -u

echo "==> Zero out the free space to save space in the final image";
dd if=/dev/zero of=/EMPTY bs=1M || echo "dd exit code $? is suppressed";
rm -f /EMPTY;
# Block until the empty file has been removed, otherwise, Packer
# will try to kill the box while the disk is still full and that's bad
sync;

#!/bin/sh -u

echo "==> Zero out the free space to save space in the final image";
dd if=/dev/zero of=/EMPTY bs=1m || echo "dd exit code $? is suppressed";
rm -f /EMPTY;
# Block until the empty file has been removed, otherwise, Packer
# will try to kill the box while the disk is still full and that's bad
sync;

Fix syntax error preventing dd command from running
Fix syntax error preventing dd command from running
