1
0
mirror of https://github.com/GNS3/gns3-server synced 2025-01-11 16:41:04 +00:00

Backport: fixes NAT NIO for Qemu VMs (do not launch any legacy scripts)

This commit is contained in:
grossmj 2015-08-14 22:16:02 -06:00
parent 83a7e25389
commit eb5f9c48f2

View File

@ -1019,7 +1019,7 @@ class QemuVM(BaseVM):
self._host,
nio.lport)])
elif isinstance(nio, NIOTAP):
network_options.extend(["-netdev", "tap,id=gns3-{},ifname={}".format(adapter_number, nio.tap_device)])
network_options.extend(["-netdev", "tap,id=gns3-{},ifname={},script=no,downscript=no".format(adapter_number, nio.tap_device)])
elif isinstance(nio, NIONAT):
network_options.extend(["-netdev", "user,id=gns3-{}".format(adapter_number)])
else: