defaultenv: boot: add serverip to static ip configuration
If a (different) server is supplied to the "nfsroot" parameter, the kernel will choose that one. Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de> Signed-off-by: Wolfram Sang <w.sang@pengutronix.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
bd6d6adfc0
commit
cc891e8e95
|
@ -25,7 +25,7 @@ if [ x$ip = xdhcp ]; then
|
||||||
elif [ x$ip = xnone ]; then
|
elif [ x$ip = xnone ]; then
|
||||||
bootargs="$bootargs ip=none"
|
bootargs="$bootargs ip=none"
|
||||||
else
|
else
|
||||||
bootargs="$bootargs ip=$eth0.ipaddr::$eth0.gateway:$eth0.netmask::eth0:"
|
bootargs="$bootargs ip=$eth0.ipaddr:$eth0.serverip:$eth0.gateway:$eth0.netmask::eth0:"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue