Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hooks/archiso_pxe_common4
1 files changed, 3 insertions, 1 deletions
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"