From d8781670898e782b337a7add35a67a08247801d6 Mon Sep 17 00:00:00 2001 From: xq2005 Date: Fri, 16 Nov 2012 08:25:48 +0000 Subject: [PATCH] diskless support on ubuntu git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- xCAT-server/share/xcat/netboot/ubuntu/genimage | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xCAT-server/share/xcat/netboot/ubuntu/genimage b/xCAT-server/share/xcat/netboot/ubuntu/genimage index 4feeb6bf1..6aec4eed1 100755 --- a/xCAT-server/share/xcat/netboot/ubuntu/genimage +++ b/xCAT-server/share/xcat/netboot/ubuntu/genimage @@ -966,7 +966,6 @@ if [ -z "\$IFACE" ]; then fi export IFACE=\$IFACE -echo network --device \$IFACE --bootproto dhcp >> /bin/netstart netstart \$IFACE while ! ifconfig | grep inet; do @@ -1237,7 +1236,7 @@ EOMS open($inifile,">"."/tmp/xcatinitrd.$$/bin/netstart"); print $inifile "#!/sbin/sh\n"; - print $inifile "udhcpc -n -q -i $prinic\n"; + print $inifile "udhcpc -n -q -i \${1}\n"; close($inifile); open($inifile,">"."/tmp/xcatinitrd.$$/usr/share/udhcpc/default.script");