diff options
author | Patrick Vacek <patrickvacek@gmail.com> | 2019-06-07 11:24:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-07 11:24:38 +0200 |
commit | 567ed002259985b5a2afea2f90e5bf2df08f7147 (patch) | |
tree | 0772ba7d1d31af6413c35d03d2bd132d966d60ce /scripts | |
parent | cdf070e20556a13ecda308833fd5c314d20547ab (diff) | |
parent | e621378661f04d6b684598ba890db8772c59f805 (diff) | |
download | meta-updater-567ed002259985b5a2afea2f90e5bf2df08f7147.tar.gz |
Merge pull request #528 from advancedtelematic/refactor/rocko/renaming-secondaries-etc
Refactor/rocko/renaming secondaries etc
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/qemucommand.py | 4 |
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"] |