summaryrefslogtreecommitdiffstats
path: root/scripts/qemucommand.py
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-05-27 14:59:14 +0200
committerGitHub <noreply@github.com>2019-05-27 14:59:14 +0200
commitd1291df592cd0ea20a61b21228d45995e1766458 (patch)
tree1232bb0041816dffc09f3e118356b018725c161e /scripts/qemucommand.py
parenta6c241c31f0afbf762a230db4b92c1758db66158 (diff)
parent8e9bbe95badbc889f3cd69caff8a223f65e6042d (diff)
downloadmeta-updater-d1291df592cd0ea20a61b21228d45995e1766458.tar.gz
Merge pull request #520 from advancedtelematic/feat/OTA-2541/preconfigured-secondaries
Posix/IP Secondary and Primary Support
Diffstat (limited to 'scripts/qemucommand.py')
-rw-r--r--scripts/qemucommand.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py
index cafab6d..1049d7c 100644
--- a/scripts/qemucommand.py
+++ b/scripts/qemucommand.py
@@ -109,8 +109,8 @@ class QemuCommand(object):
109 cmdline += ['-net', 'dump,file=' + self.pcap] 109 cmdline += ['-net', 'dump,file=' + self.pcap]
110 if self.secondary_network: 110 if self.secondary_network:
111 cmdline += [ 111 cmdline += [
112 '-net', 'nic,vlan=1,macaddr='+random_mac(), 112 '-netdev', 'socket,id=vlan1,mcast=230.0.0.1:1234,localaddr=127.0.0.1',
113 '-net', 'socket,vlan=1,mcast=230.0.0.1:1234,localaddr=127.0.0.1', 113 '-device', 'e1000,netdev=vlan1,mac='+random_mac(),
114 ] 114 ]
115 if self.gui: 115 if self.gui:
116 cmdline += ["-serial", "stdio"] 116 cmdline += ["-serial", "stdio"]