diff options
-rw-r--r-- | meta/classes-recipe/qemuboot.bbclass | 2 | ||||
-rwxr-xr-x | scripts/runqemu | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes-recipe/qemuboot.bbclass b/meta/classes-recipe/qemuboot.bbclass index 444871438d..12d0a509f1 100644 --- a/meta/classes-recipe/qemuboot.bbclass +++ b/meta/classes-recipe/qemuboot.bbclass | |||
@@ -102,7 +102,7 @@ QB_RNG ?= "-object rng-random,filename=/dev/urandom,id=rng0 -device virtio-rng-p | |||
102 | QB_OPT_APPEND ?= "" | 102 | QB_OPT_APPEND ?= "" |
103 | QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@" | 103 | QB_NETWORK_DEVICE ?= "-device virtio-net-pci,netdev=net0,mac=@MAC@" |
104 | QB_CMDLINE_IP_SLIRP ?= "ip=dhcp" | 104 | QB_CMDLINE_IP_SLIRP ?= "ip=dhcp" |
105 | QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8" | 105 | QB_CMDLINE_IP_TAP ?= "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0" |
106 | QB_ROOTFS_EXTRA_OPT ?= "" | 106 | QB_ROOTFS_EXTRA_OPT ?= "" |
107 | QB_GRAPHICS ?= "" | 107 | QB_GRAPHICS ?= "" |
108 | QB_NFSROOTFS_EXTRA_OPT ?= "" | 108 | QB_NFSROOTFS_EXTRA_OPT ?= "" |
diff --git a/scripts/runqemu b/scripts/runqemu index 5e6793d44e..0e105a918b 100755 --- a/scripts/runqemu +++ b/scripts/runqemu | |||
@@ -203,7 +203,7 @@ class BaseConfig(object): | |||
203 | self.fsinfo = {} | 203 | self.fsinfo = {} |
204 | self.network_device = "-device e1000,netdev=net0,mac=@MAC@" | 204 | self.network_device = "-device e1000,netdev=net0,mac=@MAC@" |
205 | self.cmdline_ip_slirp = "ip=dhcp" | 205 | self.cmdline_ip_slirp = "ip=dhcp" |
206 | self.cmdline_ip_tap = "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8" | 206 | self.cmdline_ip_tap = "ip=192.168.7.@CLIENT@::192.168.7.@GATEWAY@:255.255.255.0::eth0:off:8.8.8.8 net.ifnames=0" |
207 | # Use different mac section for tap and slirp to avoid | 207 | # Use different mac section for tap and slirp to avoid |
208 | # conflicts, e.g., when one is running with tap, the other is | 208 | # conflicts, e.g., when one is running with tap, the other is |
209 | # running with slirp. | 209 | # running with slirp. |