From f7d87f09f136fcd4a11786c5567349d62783ca87 Mon Sep 17 00:00:00 2001 From: Julien Duponchelle Date: Mon, 9 Jan 2017 17:07:42 +0100 Subject: [PATCH] Fix VPCS configuration is overwritten on project load Fix https://github.com/GNS3/gns3-gui/issues/1766 --- gns3server/compute/vpcs/vpcs_vm.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gns3server/compute/vpcs/vpcs_vm.py b/gns3server/compute/vpcs/vpcs_vm.py index 56d0717d..6b3dbfc4 100644 --- a/gns3server/compute/vpcs/vpcs_vm.py +++ b/gns3server/compute/vpcs/vpcs_vm.py @@ -69,7 +69,7 @@ class VPCSVM(BaseNode): self._local_udp_tunnel = None # VPCS settings - if startup_script is not None: + if startup_script is not None and not self.script_file: # We disallow override at startup self.startup_script = startup_script self._ethernet_adapter = EthernetAdapter() # one adapter with 1 Ethernet interface