summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorKai Kang <kai.kang@windriver.com>2019-06-18 21:07:04 -0400
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-06-19 13:12:00 +0100
commit2abfbf186989223d5d256c25e0b52b02f29d5bfb (patch)
tree317063d32edaed88d399ae2ad2be7f3d9b0c4c1c /meta
parent7cc98b0f3414ad705ac136aee4cffb827dc8aade (diff)
downloadopenembedded-core-contrib-2abfbf186989223d5d256c25e0b52b02f29d5bfb.tar.gz
systemd-conf: not configure network for nfs root
It fails to boot nfs root with systemd that systemd-networkd re-configures wired network and breaks the connection with nfs root. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/systemd/systemd-conf/wired.network1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/systemd/systemd-conf/wired.network b/meta/recipes-core/systemd/systemd-conf/wired.network
index 253aee9382..ff807ba31f 100644
--- a/meta/recipes-core/systemd/systemd-conf/wired.network
+++ b/meta/recipes-core/systemd/systemd-conf/wired.network
@@ -1,5 +1,6 @@
[Match]
Name=en* eth*
+KernelCommandLine=!nfsroot
[Network]
DHCP=yes