From e5188e4f9b814b89f5c89624c0762e3ecba7bd11 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Wed, 8 Nov 2023 23:05:09 +0900 Subject: [PATCH] network: make 89-ethernet.network match only physical interfaces For safety. We already add similar condition to a generated one: c25aa6c8acc6d95eaacae7858a7057907d61a25e --- network/89-ethernet.network.example | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/network/89-ethernet.network.example b/network/89-ethernet.network.example index ce82b25728e..58b323db6eb 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] -- 2.47.3