Commit 873b9fdf authored by Christopher Alfeld's avatar Christopher Alfeld

Template for client script

parent 86f980c2
sed -e 's/tbpc07/NODE/' /etc/HOSTNAME >! /tmp/tmpsetup
cp -f /tmp/tmpsetup /etc/HOSTNAME
sed -e 's/tbpc07/NODE/' /etc/sysconfig/network >! /tmp/tmpsetup
cp -f /tmp/tmpsetup /etc/sysconfig/network
hostname NODE.cs.utah.edu
rm -f /tmp/tmpsetup
ssh-keygen -P '' -b 1024 -f /tmp/tmpsetup
cp -f /tmp/tmpsetup /etc/ssh/ssh_host_key
reboot
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