1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-01 04:38:12 +00:00

Fix VPCS configuration is overwritten on project load

Fix https://github.com/GNS3/gns3-gui/issues/1766
This commit is contained in:
Julien Duponchelle 2017-01-09 17:07:42 +01:00
parent 58287b3638
commit f7d87f09f1
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -69,7 +69,7 @@ class VPCSVM(BaseNode):
self._local_udp_tunnel = None self._local_udp_tunnel = None
# VPCS settings # 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.startup_script = startup_script
self._ethernet_adapter = EthernetAdapter() # one adapter with 1 Ethernet interface self._ethernet_adapter = EthernetAdapter() # one adapter with 1 Ethernet interface