From 909028480646abce1552d902495dbcec0808dc38 Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Fri, 25 Oct 2019 13:12:54 +0200 Subject: [slx-network] wait 30sec for network to cope with some old/bad NICs that need >10sec to get up --- builder/modules.d/slx-network/scripts/setup-bootif-network.stage3 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/builder/modules.d/slx-network/scripts/setup-bootif-network.stage3 b/builder/modules.d/slx-network/scripts/setup-bootif-network.stage3 index 4535ccd3..53ad8de9 100755 --- a/builder/modules.d/slx-network/scripts/setup-bootif-network.stage3 +++ b/builder/modules.d/slx-network/scripts/setup-bootif-network.stage3 @@ -31,9 +31,9 @@ wait_for_iface() { set -x ip link set dev "$SLX_PXE_NETIF" up -if ! wait_for_iface "$SLX_PXE_NETIF" 100; then - warn "'$SLX_PXE_NETIF' still not up after 10sec ... trying anyway." - # TODO handle case where we waited for 10sec and it is still not up +if ! wait_for_iface "$SLX_PXE_NETIF" 300; then + warn "'$SLX_PXE_NETIF' still not up after 30sec ... trying anyway." + # TODO handle case where we waited for 30sec and it is still not up fi # now determine whether we are in bridged/vlan/plain mode -- cgit v1.2.3-55-g7522