index : mkinitcpio-archiso32 | |
Archlinux32 initcpio scripts used by archiso | gitolite user |
summaryrefslogtreecommitdiff |
author | Anton Hvornum <anton@hvornum.se> | 2022-01-11 09:57:53 +0000 |
---|---|---|
committer | Anton Hvornum <anton@hvornum.se> | 2022-01-12 15:26:53 +0100 |
commit | b9f845e2fae31922b41e6fa63170bdd05a685b4d (patch) | |
tree | d04760d8a3cf1870a752313cc8025081413cf6b9 /hooks/archiso_pxe_common | |
parent | 697d750a64dbece971f8a33234a11a769dfdeda9 (diff) |
-rw-r--r-- | hooks/archiso_pxe_common | 4 |
diff --git a/hooks/archiso_pxe_common b/hooks/archiso_pxe_common index 6cadc34..3c4126b 100644 --- a/hooks/archiso_pxe_common +++ b/hooks/archiso_pxe_common @@ -32,7 +32,9 @@ run_hook() { fi # setup network and save some values - if ! ipconfig -t 20 "ip=${ip}"; then + # Timeout is set to 60 by default to avoid issues with STP default values + # (15 second listening, 15 seconds learning and 20 seconds for max age) + if ! ipconfig -t 60 "ip=${ip}"; then echo "ERROR; Failed to configure network" echo " Falling back to interactive prompt" echo " You can try to fix the problem manually, log out when you are finished" |