[debian-edu-commits] [Git][debian-edu/debian-edu-install][master] debian-edu-profile: Adjust --timeout to 10 (instead of 2) seconds and --tries...

Mike Gabriel (@sunweaver) gitlab at salsa.debian.org
Mon Mar 21 14:13:57 GMT 2022



Mike Gabriel pushed to branch master at Debian Edu / debian-edu-install


Commits:
0b3b82fc by Mike Gabriel at 2022-03-21T15:13:45+01:00
debian-edu-profile: Adjust --timeout to 10 (instead of 2) seconds and --tries to 3 (instead of 2) attempts as suggested by Holger Levsen.

- - - - -


2 changed files:

- debian-edu-profile
- debian/changelog


Changes:

=====================================
debian-edu-profile
=====================================
@@ -150,7 +150,7 @@ touch $preseedfile
 # workstation for non-laptops, and roaming-workstation for laptops.
 # If more than one network interface is detected, preselect
 # LTSP-Server for non-laptops.
-if wget --timeout 2 --tries 2 http://tjener/debian-edu-install.dat > /dev/null 2>&1 ; then
+if wget --timeout 10 --tries 3 http://tjener/debian-edu-install.dat > /dev/null 2>&1 ; then
     log "main-server detected on the network"
     if laptop-detect ; then
 	log "laptop detected, preselecting roaming workstation"


=====================================
debian/changelog
=====================================
@@ -1,9 +1,12 @@
 debian-edu-install (2.12.5) UNRELEASED; urgency=medium
 
-  * debian-edu-profile: Add --timeout and -tries options to wget call to
-    avoid a very long waiting time during installation if
-    tjener.<search-domain> is resolvable on the network, but the IP resolved
-    is offline. (Closes: #1008038).
+  * debian-edu-profile:
+    - Add --timeout and -tries options to wget call to avoid a very long
+      waiting time during installation if tjener.<search-domain> is
+      resolvable on the network, but the IP resolved is offline. (Closes:
+      #1008038).
+    - Adjust --timeout to 10 (instead of 2) seconds and --tries to 3 (instead
+      of 2) attempts as suggested by Holger Levsen.
 
  -- Mike Gabriel <sunweaver at debian.org>  Mon, 21 Mar 2022 15:10:18 +0100
 



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-install/-/commit/0b3b82fc2e341b0f63e476989bdcdb8a8910eff1

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-install/-/commit/0b3b82fc2e341b0f63e476989bdcdb8a8910eff1
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-edu-commits/attachments/20220321/2c834917/attachment-0001.htm>


More information about the debian-edu-commits mailing list