summaryrefslogtreecommitdiffstats
path: root/projectroot
diff options
context:
space:
mode:
authorMichael Olbrich <m.olbrich@pengutronix.de>2015-11-19 20:47:33 +0100
committerMichael Olbrich <m.olbrich@pengutronix.de>2015-11-25 06:45:06 +0100
commit0cbe8e4c570be106c0af4664f711f31e12d828cf (patch)
tree49c3f70c2b86513df1b29c581c099a413cd648b0 /projectroot
parent876a322e4ed8d375d3e09a89c1fda592cd9cf548 (diff)
downloadptxdist-0cbe8e4c570be106c0af4664f711f31e12d828cf.tar.gz
ptxdist-0cbe8e4c570be106c0af4664f711f31e12d828cf.tar.xz
systemd: networkd: don't configure eth0 for nfsroot
systemd-networkd now clears existing addresses, so make sure it does not touch eth0 when running from nfsroot. Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'projectroot')
-rw-r--r--projectroot/lib/systemd/network/eth0.network1
1 files changed, 1 insertions, 0 deletions
diff --git a/projectroot/lib/systemd/network/eth0.network b/projectroot/lib/systemd/network/eth0.network
index 0ac8a4f06..78553268b 100644
--- a/projectroot/lib/systemd/network/eth0.network
+++ b/projectroot/lib/systemd/network/eth0.network
@@ -1,5 +1,6 @@
[Match]
Name=eth0
+KernelCommandLine=!root=/dev/nfs
[Network]
DHCP=v4