From 98112f7facea44c6a7ffb07621b7d3cf3ecd5cad Mon Sep 17 00:00:00 2001 From: grossmj Date: Fri, 14 Aug 2015 22:15:01 -0600 Subject: [PATCH] Fixes NAT NIO for Qemu VMs (do not launch any legacy scripts) --- gns3server/modules/qemu/qemu_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/modules/qemu/qemu_vm.py b/gns3server/modules/qemu/qemu_vm.py index 8a098829..83c43b36 100644 --- a/gns3server/modules/qemu/qemu_vm.py +++ b/gns3server/modules/qemu/qemu_vm.py @@ -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: