diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-11-08 15:05:09 +0100 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2023-11-08 15:11:45 +0100 |
commit | e5188e4f9b814b89f5c89624c0762e3ecba7bd11 (patch) | |
tree | fdc3a3f843225e4cebd0e2f0eee79ccbd74967ae /network | |
parent | network: use Kind= instead of Driver= (diff) | |
download | systemd-e5188e4f9b814b89f5c89624c0762e3ecba7bd11.tar.xz systemd-e5188e4f9b814b89f5c89624c0762e3ecba7bd11.zip |
network: make 89-ethernet.network match only physical interfaces
For safety. We already add similar condition to a generated one:
c25aa6c8acc6d95eaacae7858a7057907d61a25e
Diffstat (limited to 'network')
-rw-r--r-- | network/89-ethernet.network.example | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/network/89-ethernet.network.example b/network/89-ethernet.network.example index ce82b25728..58b323db6e 100644 --- a/network/89-ethernet.network.example +++ b/network/89-ethernet.network.example @@ -9,8 +9,9 @@ # by systemd-networkd and edit it there. # 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] +Kind=!* Type=ether [Network] |