diff options
author | Alexander Kanavin <alex.kanavin@gmail.com> | 2022-01-09 23:27:29 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-01-11 10:53:44 +0000 |
commit | 2a3e849326592d8213cf29fcb6f49d10136f32d6 (patch) | |
tree | 6e0ff751386050cc32ff3564a085c6f0da4c5778 /scripts/runqemu | |
parent | 6ba5808ebf41faa5377b52a2183f53149cc90f4b (diff) | |
download | poky-2a3e849326592d8213cf29fcb6f49d10136f32d6.tar.gz |
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>
Diffstat (limited to 'scripts/runqemu')
-rwxr-xr-x | scripts/runqemu | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/runqemu b/scripts/runqemu index d49f128fe4..4e05c1bb15 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -199,7 +199,7 @@ class BaseConfig(object): | |||
199 | self.fsinfo = {} | 199 | self.fsinfo = {} |
200 | self.network_device = "-device e1000,netdev=net0,mac=@MAC@" | 200 | self.network_device = "-device e1000,netdev=net0,mac=@MAC@" |
201 | self.cmdline_ip_slirp = "ip=dhcp" | 201 | self.cmdline_ip_slirp = "ip=dhcp" |
202 | self.cmdline_ip_tap = "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0" | 202 | self.cmdline_ip_tap = "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8" |
203 | # Use different mac section for tap and slirp to avoid | 203 | # Use different mac section for tap and slirp to avoid |
204 | # conflicts, e.g., when one is running with tap, the other is | 204 | # conflicts, e.g., when one is running with tap, the other is |
205 | # running with slirp. | 205 | # running with slirp. |