don't configure 'lo' for dhcp
On systemd-based operating systems that don't use /etc/sysconfig/network-scripts dhcp-all-interfaces configures 'lo' for dhcp. This causes errors and fails networking.target causing system-wide issues. This change excludes 'lo' at dhcp-all-interfaces udev rules level. Closes-bug: #1621501 Change-Id: I7563b766827bedbea7ae1de35e5bdfcbf1fc0d1e Co-Authored-By: Jeremy Stanley <fungi@yuggoth.org>
This commit is contained in:
parent
ca53af1184
commit
bc80572061
@ -1 +1 @@
|
||||
SUBSYSTEM=="net", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="dhcp-interface@$name.service"
|
||||
SUBSYSTEM=="net", KERNEL!="lo", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="dhcp-interface@$name.service"
|
||||
|
Loading…
Reference in New Issue
Block a user