]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
network: make 89-ethernet.network match only physical interfaces 29932/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 8 Nov 2023 14:05:09 +0000 (23:05 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 8 Nov 2023 14:11:45 +0000 (23:11 +0900)
For safety. We already add similar condition to a generated one:
c25aa6c8acc6d95eaacae7858a7057907d61a25e

network/89-ethernet.network.example

index ce82b25728e86e27a0133d0aaae26325028ae43b..58b323db6eb2ccc2471f7b0001666c050eddf1dc 100644 (file)
@@ -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]