From: "Jack Mitchell" <ml@embed.me.uk>
To: openembedded-core@lists.openembedded.org
Cc: Yi Zhao <yi.zhao@windriver.com>, Kai <kai.kang@windriver.com>,
Jack Mitchell <ml@embed.me.uk>
Subject: [PATCH 3/3] systemd-conf: match ethernet interfaces by type rather than globbing
Date: Thu, 3 Dec 2020 10:35:02 +0000 [thread overview]
Message-ID: <20201203103502.192240-3-ml@embed.me.uk> (raw)
In-Reply-To: <20201203103502.192240-1-ml@embed.me.uk>
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>
---
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]
--
2.29.2
prev parent reply other threads:[~2020-12-03 10:35 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-12-03 10:35 [PATCH 1/3] Revert "connman: set service to conflict with systemd-networkd" Jack Mitchell
2020-12-03 10:35 ` [PATCH 2/3] systemd-conf: add PACKAGECONFIG to enable/disable auto ethernet DHCP Jack Mitchell
2020-12-03 10:35 ` Jack Mitchell [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20201203103502.192240-3-ml@embed.me.uk \
--to=ml@embed.me.uk \
--cc=kai.kang@windriver.com \
--cc=openembedded-core@lists.openembedded.org \
--cc=yi.zhao@windriver.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox