Skip to content
Snippets Groups Projects
Verified Commit 831fc1f9 authored by nl6720's avatar nl6720
Browse files

Add RequiredForOnline=routable to /etc/systemd/network/80-dhcp.network

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.
parent 52121d34
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,9 @@ function pre() {
Name=en*
Name=eth*
[Link]
RequiredForOnline=routable
[Network]
DHCP=yes
EOF
......
......@@ -19,6 +19,9 @@ EOF
Name=en*
Name=eth*
[Link]
RequiredForOnline=routable
[Network]
DHCP=yes
EOF
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment