mkdir webdir

This commit is contained in:
Thomas Cole 2021-07-13 08:43:38 -04:00
parent abe594bc38
commit 60ec8716da

View File

@ -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