From c1483cc7db83019da4cccb721eeab7b3988b76da Mon Sep 17 00:00:00 2001 From: jbjohnso Date: Tue, 21 Jun 2011 19:30:30 +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/branches/2.6@9878 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 c6dc7d66d..aa9496447 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");