From c995268a1beaca0595e5d9edb9c00740c944d804 Mon Sep 17 00:00:00 2001 From: vallard Date: Sun, 8 Nov 2009 07:06:21 +0000 Subject: [PATCH] fixed IB bug git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4518 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/centos/mkhpcimage.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/centos/mkhpcimage.example b/xCAT-server/share/xcat/netboot/centos/mkhpcimage.example index d89d35dae..f2d3f9a2b 100755 --- a/xCAT-server/share/xcat/netboot/centos/mkhpcimage.example +++ b/xCAT-server/share/xcat/netboot/centos/mkhpcimage.example @@ -152,7 +152,7 @@ perl -pi -e 's/dhcp/none/g' $IMGROOT/etc/sysconfig/network-scripts/ifcfg-eth0 #umount $IMGROOT/sys #umount $IMGROOT/proc # configure IB IP address -#echo "IP=\`host \$HOSTNAME-ib0 | awk '{ print \$4 }'\`" >> $IMGROOT/etc/rc.d/rc.local +#echo "IP=\`host \$HOSTNAME-ib0 | awk '{ print \$4 }' | head -1\`" >> $IMGROOT/etc/rc.d/rc.local #echo "ifconfig ib0 \$IP" >> $IMGROOT/etc/rc.d/rc.local #echo "ifconfig ib0 netmask 255.255.0.0" >> $IMGROOT/etc/rc.d/rc.local ### End IB Stuff ####