mkdir webdir
This commit is contained in:
parent
abe594bc38
commit
60ec8716da
@ -10,6 +10,7 @@ LOCALIP=$(hostname -I)
|
|||||||
. .passwd.cfg
|
. .passwd.cfg
|
||||||
|
|
||||||
#copy the pre-preseed file and update the passwords from the .passwd.cfg file
|
#copy the pre-preseed file and update the passwords from the .passwd.cfg file
|
||||||
|
mkdir webdir
|
||||||
cp input.cfg webdir/preseed.cfg
|
cp input.cfg webdir/preseed.cfg
|
||||||
sed -i "s/@ROOTHASH/$roothash/g" webdir/preseed.cfg
|
sed -i "s/@ROOTHASH/$roothash/g" webdir/preseed.cfg
|
||||||
sed -i "s/@USERHASH/$userhash/g" webdir/preseed.cfg
|
sed -i "s/@USERHASH/$userhash/g" webdir/preseed.cfg
|
||||||
|
Loading…
Reference in New Issue
Block a user