mirror of
https://git.yoctoproject.org/poky
synced 2026-04-26 09:32:14 +02:00
qemuboot/runqemu: fully form the ip= kernel parameter
New systemd is actually parsing this in systemd-network-generator and fails if it is not fully formed. 'off' means 'static ip, do nothing': https://www.kernel.org/doc/Documentation/filesystems/nfs/nfsroot.txt (From OE-Core rev: 2cf12c8dde0f05917797f8b4a80883dc0647b95d) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
6ba5808ebf
commit
2a3e849326
@@ -199,7 +199,7 @@ class BaseConfig(object):
|
||||
self.fsinfo = {}
|
||||
self.network_device = "-device e1000,netdev=net0,mac=@MAC@"
|
||||
self.cmdline_ip_slirp = "ip=dhcp"
|
||||
self.cmdline_ip_tap = "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0"
|
||||
self.cmdline_ip_tap = "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8"
|
||||
# Use different mac section for tap and slirp to avoid
|
||||
# conflicts, e.g., when one is running with tap, the other is
|
||||
# running with slirp.
|
||||
|
||||
Reference in New Issue
Block a user