Skip to content
Permalink
Browse files

Added code to delete centos user with default password

  • Loading branch information
chubing committed Dec 19, 2016
1 parent 8f0c8b3 commit af6fd0706657ad8c67dd2f11eabfe0a7ca88d3c3
Showing with 3 additions and 0 deletions.
  1. +3 −0 scripts/cleanup.sh
@@ -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.
You can’t perform that action at this time.