From ba2821b0185a3cb3f6107af2939e8cdfff7829bb Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 21 Jun 2011 19:31:16 +0000 Subject: [PATCH] Port forward fix for netstart issue with RHEL statelesess git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@9879 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/rh/genimage | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/share/xcat/netboot/rh/genimage b/xCAT-server/share/xcat/netboot/rh/genimage index 17af96a40..99933e7d5 100755 --- a/xCAT-server/share/xcat/netboot/rh/genimage +++ b/xCAT-server/share/xcat/netboot/rh/genimage @@ -991,6 +991,7 @@ if [ -z "\$IFACE" ]; then fi export IFACE=\$IFACE +echo network --device \$IFACE --bootproto dhcp >> /bin/netstart netstart \$IFACE while ! ifconfig | grep inet; do @@ -1254,7 +1255,6 @@ EOMS open($inifile,">"."/tmp/xcatinitrd.$$/bin/netstart"); print $inifile "#!/sbin/nash\n"; - print $inifile "network --device \${1} --bootproto dhcp\n"; #must not use env, doesn't work in older RH close($inifile); chmod(0755,"/tmp/xcatinitrd.$$/init"); chmod(0755,"/tmp/xcatinitrd.$$/bin/netstart");