diff options
author | Phil Wise <phil@advancedtelematic.com> | 2018-03-27 14:08:24 +0200 |
---|---|---|
committer | Phil Wise <phil@advancedtelematic.com> | 2018-03-27 14:08:24 +0200 |
commit | edae332ab5b66d0caf5b68926b23554aa5493040 (patch) | |
tree | fa6052d48061c7ce7285e223caccf28dfc29d4e3 /scripts/qemucommand.py | |
parent | de2b0f06546666aacf9dd2fce94e0134768c6a3b (diff) | |
download | meta-updater-edae332ab5b66d0caf5b68926b23554aa5493040.tar.gz |
Restrict secondary network to localhost
Diffstat (limited to 'scripts/qemucommand.py')
-rw-r--r-- | scripts/qemucommand.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/qemucommand.py b/scripts/qemucommand.py index e209a07..4918314 100644 --- a/scripts/qemucommand.py +++ b/scripts/qemucommand.py | |||
@@ -108,7 +108,7 @@ class QemuCommand(object): | |||
108 | if self.secondary_network: | 108 | if self.secondary_network: |
109 | cmdline += [ | 109 | cmdline += [ |
110 | '-net', 'nic,vlan=1,macaddr='+random_mac(), | 110 | '-net', 'nic,vlan=1,macaddr='+random_mac(), |
111 | '-net', 'socket,vlan=1,mcast=230.0.0.1:1234', | 111 | '-net', 'socket,vlan=1,mcast=230.0.0.1:1234,localaddr=127.0.0.1', |
112 | ] | 112 | ] |
113 | if self.gui: | 113 | if self.gui: |
114 | cmdline += ["-serial", "stdio"] | 114 | cmdline += ["-serial", "stdio"] |