diff options
| author | nl6720 <nl6720@gmail.com> | 2023-12-09 12:31:58 +0200 |
|---|---|---|
| committer | nl6720 <nl6720@gmail.com> | 2023-12-09 12:40:59 +0200 |
| commit | cb61daf8eaffb5e831e51f50aa44080fffac27e8 (patch) | |
| tree | 85aa8baa7f86e76aea2708572802566f5affc87c /configs/baseline/airootfs | |
| parent | c96c2bef481799f566f80fb2ceff874030e5f0b3 (diff) | |
| download | archiso-cb61daf8eaffb5e831e51f50aa44080fffac27e8.tar.gz archiso-cb61daf8eaffb5e831e51f50aa44080fffac27e8.tar.bz2 | |
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.
Diffstat (limited to 'configs/baseline/airootfs')
| -rw-r--r-- | configs/baseline/airootfs/etc/systemd/network/20-ethernet.network | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configs/baseline/airootfs/etc/systemd/network/20-ethernet.network b/configs/baseline/airootfs/etc/systemd/network/20-ethernet.network index 177e0aa..0e4287b 100644 --- a/configs/baseline/airootfs/etc/systemd/network/20-ethernet.network +++ b/configs/baseline/airootfs/etc/systemd/network/20-ethernet.network @@ -5,6 +5,9 @@ Name=en* Name=eth* +[Link] +RequiredForOnline=routable + [Network] DHCP=yes MulticastDNS=yes |
