d49c882778
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15261 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 |