828417286b
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.8@15367 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
6 lines
164 B
Plaintext
6 lines
164 B
Plaintext
. /tmp/post-install/variables.txt
|
|
|
|
echo "Updating hostname to $HOSTNAME"
|
|
sed -i "s/HOSTNAME=.*/HOSTNAME=$HOSTNAME/g" /etc/sysconfig/network
|
|
|
|
hostname $HOSTNAME |