mirror of
https://github.com/systemd/systemd.git
synced 2024-11-26 19:53:45 +08:00
network: make 89-ethernet.network match only physical interfaces
For safety. We already add similar condition to a generated one:
c25aa6c8ac
This commit is contained in:
parent
f139393dd2
commit
e5188e4f9b
@ -9,8 +9,9 @@
|
|||||||
# by systemd-networkd and edit it there.
|
# by systemd-networkd and edit it there.
|
||||||
# This file should not be edited in place, because it'll be overwritten on upgrades.
|
# This file should not be edited in place, because it'll be overwritten on upgrades.
|
||||||
|
|
||||||
# Enable DHCPv4 and DHCPv6 on all ethernet links
|
# Enable DHCPv4 and DHCPv6 on all physical ethernet links
|
||||||
[Match]
|
[Match]
|
||||||
|
Kind=!*
|
||||||
Type=ether
|
Type=ether
|
||||||
|
|
||||||
[Network]
|
[Network]
|
||||||
|
Loading…
Reference in New Issue
Block a user