aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Mitchell <ml@embed.me.uk>2020-12-03 10:35:02 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2020-12-06 23:16:50 +0000
commita2bf422cc498bebfbeedc9382b2cc1533f78bbfd (patch)
tree656f3c5e6718d03def2639d2d04fcc0e74f382bb
parentea5e65b578498df7976bbc560bdcd39c2ebcc1d9 (diff)
downloadopenembedded-core-contrib-a2bf422cc498bebfbeedc9382b2cc1533f78bbfd.tar.gz
openembedded-core-contrib-a2bf422cc498bebfbeedc9382b2cc1533f78bbfd.tar.bz2
openembedded-core-contrib-a2bf422cc498bebfbeedc9382b2cc1533f78bbfd.zip
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 <ml@embed.me.uk> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-core/systemd/systemd-conf/wired.network2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-core/systemd/systemd-conf/wired.network b/meta/recipes-core/systemd/systemd-conf/wired.network
index dcf35345966..09367edb103 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]