From: Jack Mitchell Date: Thu, 3 Dec 2020 10:35:02 +0000 (+0000) Subject: systemd-conf: match ethernet interfaces by type rather than globbing X-Git-Tag: uninative-2.10~579 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=a2bf422cc498bebfbeedc9382b2cc1533f78bbfd;p=openembedded-core.git 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 --- 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]