installer: Relax internet check availability criteria.
Checks the availability of the mirror bordeaux.guix.gnu.org in addition to ci.guix.gnu.org. This allows to proceed the installation if the ci.guix.gnu.org is unavailable. * gnu/installer/newt/network.scm (wait-service-online): Relax internet check availability criteria. Signed-off-by: Andrew Tropin <andrew@trop.in>
This commit is contained in:
parent
6f7b44e42e
commit
094b357783
@ -122,10 +122,15 @@ FULL-VALUE tentatives, spaced by 1 second."
|
||||
(lambda _ #f))
|
||||
(alarm 3))
|
||||
(lambda ()
|
||||
(false-if-exception
|
||||
(= (response-code
|
||||
(http-request "https://ci.guix.gnu.org"))
|
||||
200)))
|
||||
(or
|
||||
(false-if-exception
|
||||
(= (response-code
|
||||
(http-request "https://ci.guix.gnu.org"))
|
||||
200))
|
||||
(false-if-exception
|
||||
(= (response-code
|
||||
(http-request "https://bordeaux.guix.gnu.org"))
|
||||
200))))
|
||||
(lambda ()
|
||||
(alarm 0))))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user