summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2023-11-08 15:05:09 +0100
committerYu Watanabe <watanabe.yu+github@gmail.com>2023-11-08 15:11:45 +0100
commite5188e4f9b814b89f5c89624c0762e3ecba7bd11 (patch)
treefdc3a3f843225e4cebd0e2f0eee79ccbd74967ae
parentnetwork: use Kind= instead of Driver= (diff)
downloadsystemd-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
-rw-r--r--network/89-ethernet.network.example3
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]