[debian-edu-commits] [Git][debian-edu/debian-edu-install][master] debian-edu-profile: Add --timeout and -tries options to wget call to avoid a...

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



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


Commits:
2a04b2c2 by Mike Gabriel at 2022-03-21T15:10:45+01:00
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).

- - - - -


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 http://tjener/debian-edu-install.dat > /dev/null 2>&1 ; then
+if wget --timeout 2 --tries 2 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,3 +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).
+
+ -- Mike Gabriel <sunweaver at debian.org>  Mon, 21 Mar 2022 15:10:18 +0100
+
 debian-edu-install (2.12.4) unstable; urgency=medium
 
   [ Mike Gabriel ]



View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-install/-/commit/2a04b2c254761f79d1f271ffc80efb3fd20bf623

-- 
View it on GitLab: https://salsa.debian.org/debian-edu/debian-edu-install/-/commit/2a04b2c254761f79d1f271ffc80efb3fd20bf623
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/80e10978/attachment.htm>


More information about the debian-edu-commits mailing list