-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:
jbjohnso 2008-10-23 14:28:32 +00:00
parent fd6b2573b3
commit 092a7333fa

View File

@ -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 /