tests(packer): cleanup cloud init files.
This commit is contained in:
parent
c3c61a9270
commit
3fc4c29968
12 changed files with 79 additions and 76 deletions
|
|
@ -145,9 +145,9 @@ trim() {
|
|||
truncate --size=0 /swap/swapfile
|
||||
fi
|
||||
|
||||
_msg "Fill root filesystem with 0 to reduce box size"
|
||||
dd if=/dev/zero of=/EMPTY bs=1M || true
|
||||
rm -f /EMPTY
|
||||
# _msg "Fill root filesystem with 0 to reduce box size"
|
||||
# dd if=/dev/zero of=/EMPTY bs=1M || true
|
||||
# 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 is bad.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue