Commit 1e06daca authored by Russ Fish's avatar Russ Fish

Tweaks.

parent bc7e440a
......@@ -22,7 +22,16 @@ chmod g+w $iscygwin
chmod -f g-w /etc/emulab
# Make sure the computer name is right, reboots to change it if necessary.
nodeid=`tmcc nodeid`
nodeid=
while [ -z $nodeid ]; do
nodeid=`tmcc nodeid`
if [ -z $nodeid ]; then
msg="`date`: Null nodeid returned from tmcc. Trying again."
echo "$msg" >> $logfile
echo "$msg"
sleep 5
fi
done
hostname=`/bin/hostname`
datehost="`date`: Host name '$hostname'"
if [ $nodeid = $hostname ]; then
......
......@@ -114,9 +114,9 @@ alias rootpc 'sudo ssh pc\!^.$en \!:2*'
- Edit /etc/sshd_config
. Add this line: AuthorizedKeysFile /sshkeys/%u/authorized_keys
ed /etc/sshd_config
/AuthorizedKeysFile
a
ed /etc/sshd_config
/AuthorizedKeysFile
a
AuthorizedKeysFile /sshkeys/%u/authorized_keys
.
w
......
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