Permalink
Showing
with
2 additions
and
3 deletions.
-
+2
−3
scripts/cleanup.sh
|
@@ -4,9 +4,8 @@ |
|
|
dd if=/dev/zero of=/EMPTY bs=1M |
|
|
rm -f /EMPTY |
|
|
|
|
|
# Remove the centos user |
|
|
userdel centos |
|
|
echo user centos deletion exited with $? |
|
|
# 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.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.