Commit 69083a0d authored by Server Team's avatar Server Team
Browse files

trigger gatherkeys

parent 9951f94c
......@@ -13,17 +13,21 @@ HOST_NAME=$SERVER_NAME
######################################
# no customisation below this point
#######################################
SCRIPT_PATH=`dirname "$SCRIPT"`
# create passwd
PASSWORD=$(makepasswd --minchars=10 --maxchars=12)
echo "Generated random password"
echo "ADD TO PASSWORD STORE/KEEP IN SAFE PLACE"
echo $PASSORD
echo $PASSWORD
read -p "Are you reay to continue? " -n 1 -r
if [[ ! $REPLY =~ ^[Yy]$ ]]
then
exit 1
fi
# generate ssh-authorized keys so they can be uploaded into the root-account
$SCRIPT_PATH/gatherkeys.sh > $SCRIPT_PATH/authorized_keys
# note on preseeding
# file must be injected in the root/intrd filesysetm
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment