From a0f26aebfb576479564a7303dff60f796629cc27 Mon Sep 17 00:00:00 2001 From: ligc Date: Mon, 27 Dec 2010 07:49:33 +0000 Subject: [PATCH] hardeths work with RHEL6 git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@8513 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT/postscripts/hardeths | 1 + 1 file changed, 1 insertion(+) diff --git a/xCAT/postscripts/hardeths b/xCAT/postscripts/hardeths index 299ee1a5e..739db0645 100755 --- a/xCAT/postscripts/hardeths +++ b/xCAT/postscripts/hardeths @@ -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