diff options
author | Jonathan Bauer | 2019-10-25 13:12:54 +0200 |
---|---|---|
committer | Jonathan Bauer | 2019-10-25 13:12:54 +0200 |
commit | 909028480646abce1552d902495dbcec0808dc38 (patch) | |
tree | 9d0d761e36880dfd9e5efd80aacd0748e45c6cbd | |
parent | [slx-dmsetup] install xts kmod for dm-crypt (diff) | |
download | systemd-init-909028480646abce1552d902495dbcec0808dc38.tar.gz systemd-init-909028480646abce1552d902495dbcec0808dc38.tar.xz systemd-init-909028480646abce1552d902495dbcec0808dc38.zip |
[slx-network] wait 30sec for network
to cope with some old/bad NICs that need >10sec to get up
-rwxr-xr-x | builder/modules.d/slx-network/scripts/setup-bootif-network.stage3 | 6 |
1 files 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 |