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
|
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
|
Deprecated
|
||||||
----------
|
----------
|
||||||
|
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
Name=en*
|
Name=en*
|
||||||
Name=eth*
|
Name=eth*
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
RequiredForOnline=routable
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=yes
|
DHCP=yes
|
||||||
MulticastDNS=yes
|
MulticastDNS=yes
|
||||||
|
@ -5,6 +5,9 @@
|
|||||||
Name=en*
|
Name=en*
|
||||||
Name=eth*
|
Name=eth*
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
RequiredForOnline=routable
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=yes
|
DHCP=yes
|
||||||
MulticastDNS=yes
|
MulticastDNS=yes
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
[Match]
|
[Match]
|
||||||
Name=wl*
|
Name=wl*
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
RequiredForOnline=routable
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=yes
|
DHCP=yes
|
||||||
MulticastDNS=yes
|
MulticastDNS=yes
|
||||||
|
@ -1,6 +1,9 @@
|
|||||||
[Match]
|
[Match]
|
||||||
Name=ww*
|
Name=ww*
|
||||||
|
|
||||||
|
[Link]
|
||||||
|
RequiredForOnline=routable
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
DHCP=yes
|
DHCP=yes
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user