configs/*/airootfs/etc/systemd/network/: add RequiredForOnline=routable
By default systemd-networkd-wait-online.service considers a network connection to be "online" when it has reached the "degraded" state (see networkctl(1) for the definitions). Since "degraded" does not ensure there's a routable address, let's change the connection's requirement to "routable" instead. This gives a better chance that the network really is online when network-online.target is reached.
This commit is contained in:
parent
c96c2bef48
commit
cb61daf8ea
@ -14,6 +14,9 @@ Added
|
||||
Changed
|
||||
-------
|
||||
|
||||
- Set ``RequiredForOnline=routable`` in systemd-networkd configuration files to improve the chances that the network
|
||||
really is *online* when ``network-online.target`` is reached.
|
||||
|
||||
Deprecated
|
||||
----------
|
||||
|
||||
|
@ -5,6 +5,9 @@
|
||||
Name=en*
|
||||
Name=eth*
|
||||
|
||||
[Link]
|
||||
RequiredForOnline=routable
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
MulticastDNS=yes
|
||||
|
@ -5,6 +5,9 @@
|
||||
Name=en*
|
||||
Name=eth*
|
||||
|
||||
[Link]
|
||||
RequiredForOnline=routable
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
MulticastDNS=yes
|
||||
|
@ -1,6 +1,9 @@
|
||||
[Match]
|
||||
Name=wl*
|
||||
|
||||
[Link]
|
||||
RequiredForOnline=routable
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
MulticastDNS=yes
|
||||
|
@ -1,6 +1,9 @@
|
||||
[Match]
|
||||
Name=ww*
|
||||
|
||||
[Link]
|
||||
RequiredForOnline=routable
|
||||
|
||||
[Network]
|
||||
DHCP=yes
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user