-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
debian: install /etc/systemd/network/89-ethernet.network
Experience shows systemd-networkd-wait-online.service is that an empty /etc/systemd/network/ will yield to a failure in systemd-networkd-wait-online.service and this can often lead to false positive starts and also gives us the impression something is wrong. This is likeley an upstream systemd bug... but... let's just work around this crap at least on debian for now, and we can deal with a generic solution if other distributions also end up with an empty /etc/systemd/network/ and this fails. Signed-off-by: Luis Chamberlain <mcgrof@kernel.org>
- Loading branch information
Showing
3 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# kdevops generated 89-ethernet.network | ||
# Enable DHCPv4 and DHCPv6 on all physical ethernet links | ||
# systemd-networkd-wait-online.service likes to fail on an empty /etc/systemd/network/ | ||
# and we may leverage systemd-networkd-wait-online.service for other services. | ||
[Match] | ||
Kind=!* | ||
Type=ether | ||
[Network] | ||
DHCP=yes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters