Skip to content
Permalink
1cc917432c
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Go to file
 
 
Cannot retrieve contributors at this time
executable file 12 lines (9 sloc) 310 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
# Remove the centos user
userdel centos
echo user centos deletion exited with $?
# Add `sync` so Packer doesn't quit too early, before the large file is deleted.
sync