username and port

This commit is contained in:
Bob Mottram 2016-10-18 17:37:51 +01:00
parent 6e01a43df6
commit 3141e45f4f
1 changed files with 3 additions and 1 deletions

View File

@ -392,7 +392,9 @@ EOF
echo " if [ -f ~/${PROJECT_NAME}-completed.txt ]; then" >> $rootdir/root/.bashrc
# Remove the initial setup files
echo ' rm /root/.initial_setup' >> $rootdir/root/.bashrc
echo " rm /home/${MY_USERNAME}/.initial_setup" >> $rootdir/root/.bashrc
echo " MY_USERNAME=${MY_USERNAME}" >> $rootdir/root/.bashrc
echo " SSH_PORT=${SSH_PORT}" >> $rootdir/root/.bashrc
echo ' rm /home/${MY_USERNAME}/.initial_setup' >> $rootdir/root/.bashrc
echo " touch /root/.remove_${GENERIC_IMAGE_USERNAME}" >> $rootdir/root/.bashrc
echo ' shred -zu ~/login.txt' >> $rootdir/root/.bashrc
END_MESSAGE1=$'Congratulations!'