username and port
This commit is contained in:
parent
6e01a43df6
commit
3141e45f4f
|
@ -392,7 +392,9 @@ EOF
|
||||||
echo " if [ -f ~/${PROJECT_NAME}-completed.txt ]; then" >> $rootdir/root/.bashrc
|
echo " if [ -f ~/${PROJECT_NAME}-completed.txt ]; then" >> $rootdir/root/.bashrc
|
||||||
# Remove the initial setup files
|
# Remove the initial setup files
|
||||||
echo ' rm /root/.initial_setup' >> $rootdir/root/.bashrc
|
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 " touch /root/.remove_${GENERIC_IMAGE_USERNAME}" >> $rootdir/root/.bashrc
|
||||||
echo ' shred -zu ~/login.txt' >> $rootdir/root/.bashrc
|
echo ' shred -zu ~/login.txt' >> $rootdir/root/.bashrc
|
||||||
END_MESSAGE1=$'Congratulations!'
|
END_MESSAGE1=$'Congratulations!'
|
||||||
|
|
Loading…
Reference in New Issue