
Alpine linux as a base, vbox and libvirt Change-Id: Iaa37b1ae02b4b0d22fc01fbeff5c6ce96e0b2699
12 lines
213 B
Bash
12 lines
213 B
Bash
set -ux
|
|
|
|
dd if=/dev/zero of=/EMPTY bs=1M
|
|
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
|
|
sync
|
|
sync
|
|
|
|
exit 0
|