diff options
author | Simon Rettberg | 2022-06-17 11:30:11 +0200 |
---|---|---|
committer | Simon Rettberg | 2022-06-17 11:30:11 +0200 |
commit | 2bba7dcc69aec9f2969fb4d89f1f454901e73551 (patch) | |
tree | 7652b034636101ead0a673f857547d3fef4c6b7e | |
parent | [slx-network] Handle renew in trigger script; shellcheck improvements (diff) | |
download | systemd-init-2bba7dcc69aec9f2969fb4d89f1f454901e73551.tar.gz systemd-init-2bba7dcc69aec9f2969fb4d89f1f454901e73551.tar.xz systemd-init-2bba7dcc69aec9f2969fb4d89f1f454901e73551.zip |
[slx-network] Desperate attempt to fix e1000e hangs with DHCP in initrd
-rwxr-xr-x | modules.d/slx-network/scripts/setup-bootif-network.stage3 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/modules.d/slx-network/scripts/setup-bootif-network.stage3 b/modules.d/slx-network/scripts/setup-bootif-network.stage3 index 7a2d7410..1f8fb9ee 100755 --- a/modules.d/slx-network/scripts/setup-bootif-network.stage3 +++ b/modules.d/slx-network/scripts/setup-bootif-network.stage3 @@ -126,6 +126,8 @@ if [ -n "$SLX_PXE_CLIENT_IP" ] && [ -n "$SLX_PXE_NETMASK" ]; then fi ## DHCP +# Try to work around some buggy e1000e variants by waiting a bit +sleep 1 additional_opts=() # we need to send the same UID (without '-') as the PXE firmware did, so use the plain |