Skip to content

Commit

Permalink
Update cleanup.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
chubing authored Feb 9, 2017
1 parent 03f335d commit c14826a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/cleanup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,9 @@
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

0 comments on commit c14826a

Please sign in to comment.