defaultenv-2: set bootargs correctly for network boot
The defaultenv-2 network boot script uses bootargs-ip which
hardcodes eth0 as network device. To make this work with
other nwetork devices use the "ip_route_get" command to determine
the network device used to reach the server.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent 183515b commit 8201a940e313cd9c2f989a7af5d6a4fb3f8ab31c
@Sascha Hauer Sascha Hauer authored on 28 Nov 2017
Showing 2 changed files
View
defaultenv/defaultenv-2-base/bin/bootargs-ip 100644 → 0
View
defaultenv/defaultenv-2-base/boot/net