diff --git a/preseedserver.sh b/preseedserver.sh index da10ce8..67deb91 100755 --- a/preseedserver.sh +++ b/preseedserver.sh @@ -10,6 +10,7 @@ LOCALIP=$(hostname -I) . .passwd.cfg #copy the pre-preseed file and update the passwords from the .passwd.cfg file +mkdir webdir cp input.cfg webdir/preseed.cfg sed -i "s/@ROOTHASH/$roothash/g" webdir/preseed.cfg sed -i "s/@USERHASH/$userhash/g" webdir/preseed.cfg