From a2bf422cc498bebfbeedc9382b2cc1533f78bbfd Mon Sep 17 00:00:00 2001 From: Jack Mitchell Date: Thu, 3 Dec 2020 10:35:02 +0000 Subject: systemd-conf: match ethernet interfaces by type rather than globbing If we say we're enabling DHCP on wired/ethernet networks lets be more specific than trying to catch everything with globbing. Signed-off-by: Jack Mitchell Signed-off-by: Richard Purdie --- meta/recipes-core/systemd/systemd-conf/wired.network | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-core/systemd/systemd-conf/wired.network b/meta/recipes-core/systemd/systemd-conf/wired.network index dcf3534596..09367edb10 100644 --- a/meta/recipes-core/systemd/systemd-conf/wired.network +++ b/meta/recipes-core/systemd/systemd-conf/wired.network @@ -1,5 +1,5 @@ [Match] -Name=en* eth* +Type=ether KernelCommandLine=!nfsroot [Network] -- cgit 1.2.3-korg