1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-15 12:59:06 +00:00

Fixes NAT NIO for Qemu VMs (do not launch any legacy scripts)

This commit is contained in:
grossmj 2015-08-14 22:15:01 -06:00
parent a16d6ac88f
commit 98112f7fac

View File

@ -1337,7 +1337,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: