fix of root installing with packer

This commit is contained in:
Luke
2017-10-06 08:30:21 -07:00
parent 038ef790fa
commit 3cf1a42252
2 changed files with 6 additions and 3 deletions

View File

@@ -19,7 +19,6 @@ do
done
USER=$(cat name)
rm name
useradd -m -g wheel -s /bin/bash $USER
echo "$USER:$(cat pass1)" | chpasswd
@@ -27,7 +26,7 @@ echo "$USER:$(cat pass1)" | chpasswd
shred -u pass1
shred -u pass2
touch .firstrun
echo $USER > .firstrun
curl -O http://lukesmith.xyz/larbs/install_packages.sh && bash install_packages.sh
rm .firstrun