mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09: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:
@@ -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]
|
||||||
|
|||||||
Reference in New Issue
Block a user