Skip to content

Commit

Permalink
Added code to delete centos user with default password
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing committed Dec 19, 2016
1 parent 8f0c8b3 commit af6fd07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,8 @@
dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY

# Remove the centos user
userdel centos

# Add `sync` so Packer doesn't quit too early, before the large file is deleted.
sync

0 comments on commit af6fd07

Please sign in to comment.