summaryrefslogtreecommitdiffstats
path: root/scripts/qemucommand.py
diff options
context:
space:
mode:
authorPatrick Vacek <patrickvacek@gmail.com>2019-06-07 11:25:27 +0200
committerGitHub <noreply@github.com>2019-06-07 11:25:27 +0200
commit9b95f510e11ef18e54f57fd5fae66ea703a526dd (patch)
treeeb2d9449f4762de77ece3f17eaf7375b1a4fa447 /scripts/qemucommand.py
parent1ca755e32215de0a54d9bb221be862391b6c6756 (diff)
parent70fc854d599e58959e98647a8bc25ea519c5b700 (diff)
downloadmeta-updater-9b95f510e11ef18e54f57fd5fae66ea703a526dd.tar.gz
Merge pull request #527 from advancedtelematic/refactor/sumo/renaming-secondaries-etc
Refactor/sumo/renaming secondaries etc
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 9b21a66..532e331 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"]