hardeths work with RHEL6
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
aafb1d5452
commit
a0f26aebfb
@ -28,6 +28,7 @@ for nic in `ifconfig -a|grep -B1 "inet addr"|awk '{print $1}'|grep -v inet|grep
|
||||
fi
|
||||
sed -i s/BOOTPROTO=dhcp/BOOTPROTO=static/ $NICFILE
|
||||
sed -i s/BOOTPROTO=\'dhcp\'/BOOTPROTO=static/ $NICFILE
|
||||
sed -i s/BOOTPROTO=\"dhcp\"/BOOTPROTO=static/ $NICFILE
|
||||
echo IPADDR=$IPADDR >> $NICFILE
|
||||
echo NETMASK=$NETMASK >> $NICFILE
|
||||
done
|
||||
|
Loading…
Reference in New Issue
Block a user