-Have stateless initrd be more persistent in acquiring an address
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2379 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
fd6b2573b3
commit
092a7333fa
@ -263,6 +263,11 @@ sub mkinitrd {
|
||||
}
|
||||
print $inifile <<EOMS;
|
||||
netstart
|
||||
while ! ifconfig | grep inet; do
|
||||
echo Failed to acquire address, retrying
|
||||
sleep 1
|
||||
netstart
|
||||
done
|
||||
ifconfig lo 127.0.0.1
|
||||
ifconfig lo up
|
||||
cd /
|
||||
|
Loading…
Reference in New Issue
Block a user