Skip to content
Permalink
Newer
Older
100755 11 lines (8 sloc) 281 Bytes
Jim Van Fleet
Jul 7, 2016
1
#!/bin/bash -eux
2
3
# Zero out the rest of the free space using dd, then delete the written file.
4
dd if=/dev/zero of=/EMPTY bs=1M
5
rm -f /EMPTY
6
Feb 10, 2017
7
# Disable the centos user
8
chsh -s /bin/false centos
Jim Van Fleet
Jul 7, 2016
10
# Add `sync` so Packer doesn't quit too early, before the large file is deleted.
11
sync
You can’t perform that action at this time.