Include username in setup

This commit is contained in:
Bob Mottram 2016-10-13 11:44:53 +01:00
parent a211e5e210
commit 637f18d5a5
1 changed files with 2 additions and 1 deletions

View File

@ -333,7 +333,8 @@ if [ -f ~/.initial_setup ]; then
fi
EOF
echo 'SSH_PORT=${SSH_PORT}' >> $rootdir/root/.bashrc
echo "MY_USERNAME=${MY_USERNAME}" >> $rootdir/root/.bashrc
echo "SSH_PORT=${SSH_PORT}" >> $rootdir/root/.bashrc
echo '# initial setup of the system' >> $rootdir/root/.bashrc
echo 'if [ -f ~/.initial_setup ]; then' >> $rootdir/root/.bashrc
echo ' if [ -f ~/login.txt ]; then' >> $rootdir/root/.bashrc