Skip to content
Permalink
7cbe04cb02
Go to file
 
 
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 281 Bytes
#!/bin/bash -eux
# Zero out the rest of the free space using dd, then delete the written file.
dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY
# Disable the centos user
chsh -s /bin/false centos
# Add `sync` so Packer doesn't quit too early, before the large file is deleted.
sync
You can’t perform that action at this time.