Skip to contentSkip to conversation

systemd-conf: not configure network for nfs root

PATCH New [email protected] 1 participant 1 message Jun 19, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 systemd-conf: not configure network for nfs root

From: Kai Kang <[email protected]>

It fails to boot nfs root with systemd that systemd-networkd re-configures wired network and breaks the connection with nfs root.

---
 meta/recipes-core/systemd/systemd-conf/wired.network | 1 +
 1 file changed, 1 insertion(+)
meta/recipes-core/systemd/systemd-conf/wired.network +1 -0
index 253aee9382..ff807ba31f 100644
@@ -1,5 +1,6 @@
 [Match]
 Name=en* eth*
+KernelCommandLine=!nfsroot
 
 [Network]
 DHCP=yes
Signature · 1 line
2.20.0