Commits

abudden committed b00e585

Fixed username issues hopefully.

Comments (0)

Files changed (1)

 echo "User password:"
 passwd --root /mnt \${username}
 # Get next script
-GETSCRIPT=/home/\${username}/get_server_setup.sh
+GETSCRIPT=/mnt/home/\${username}/get_server_setup.sh
 echo "#!/bin/bash" > \${GETSCRIPT}
 echo "hg clone https://abudden@bitbucket.org/abudden/systemsetup2 system-setup" >> \${GETSCRIPT}
 chmod +x \${GETSCRIPT}
-chown al:users \${GETSCRIPT}
+chown --reference=/home/\${username} \${GETSCRIPT}
 # Tidy up
 umount /mnt/{home,boot,}
 echo ""
 echo "Done: power off, remove the CD and reboot."
 echo "Then log in as \${username} and run"
-echo "'bash get_server_setup.sh'"
+echo "'bash get_server_setup.sh' then run"
+echo "python2 system-setup/system-setup.py"
 EOF
 chmod +x ./finish.sh