diff options
author | Jack Mitchell <ml@embed.me.uk> | 2020-12-03 10:35:02 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-12-06 23:16:50 +0000 |
commit | a2bf422cc498bebfbeedc9382b2cc1533f78bbfd (patch) | |
tree | 656f3c5e6718d03def2639d2d04fcc0e74f382bb /meta | |
parent | ea5e65b578498df7976bbc560bdcd39c2ebcc1d9 (diff) | |
download | openembedded-core-contrib-a2bf422cc498bebfbeedc9382b2cc1533f78bbfd.tar.gz |
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>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/systemd/systemd-conf/wired.network | 2 |
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 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] |