]> code.ossystems Code Review - openembedded-core.git/commitdiff
systemd-conf: not configure network for nfs root
authorKai Kang <kai.kang@windriver.com>
Wed, 19 Jun 2019 01:07:04 +0000 (21:07 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jun 2019 12:12:00 +0000 (13:12 +0100)
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>
meta/recipes-core/systemd/systemd-conf/wired.network

index 253aee93821c6fe6ebaddaf4da5811ee66b65ebe..ff807ba31f8ea693661f061643fa04f28f43cb4d 100644 (file)
@@ -1,5 +1,6 @@
 [Match]
 Name=en* eth*
+KernelCommandLine=!nfsroot
 
 [Network]
 DHCP=yes