summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Bauer2019-10-25 13:12:54 +0200
committerJonathan Bauer2019-10-25 13:12:54 +0200
commit909028480646abce1552d902495dbcec0808dc38 (patch)
tree9d0d761e36880dfd9e5efd80aacd0748e45c6cbd
parent[slx-dmsetup] install xts kmod for dm-crypt (diff)
downloadsystemd-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-xbuilder/modules.d/slx-network/scripts/setup-bootif-network.stage36
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