services: static-netwoking: Wait for devices to show up.
Fixes <https://issues.guix.gnu.org/63516>. * gnu/services/base.scm (network-set-up/linux): Add call to 'wait-for-link'.
This commit is contained in:
parent
e487bd9ef5
commit
26602f4063
@ -2799,6 +2799,12 @@ to CONFIG."
|
||||
|
||||
#$@(map (lambda (address)
|
||||
#~(begin
|
||||
;; Before going any further, wait for the
|
||||
;; device to show up.
|
||||
(wait-for-link
|
||||
#$(network-address-device address)
|
||||
#:blocking? #f)
|
||||
|
||||
(addr-add #$(network-address-device address)
|
||||
#$(network-address-value address)
|
||||
#:ipv6?
|
||||
|
Loading…
Reference in New Issue
Block a user