diskless support on ubuntu
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14343 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
7d3aa32f85
commit
d878167089
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user