mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-06 07:11:13 +02:00
Allow to have projects with the same name in different locations.
This commit is contained in:
1 parent
ea0009db6c
commit
509b171b06
7 files changed
+15
-8
No files matched your search
@@ -183,6 +183,10 @@ def _convert_2_1_0(topo, topo_path):
|
||||
if "properties" in node:
|
||||
if node["node_type"] in ("qemu", "vmware", "virtualbox"):
|
||||
if "acpi_shutdown" in node["properties"]:
|
||||
if node["properties"]["acpi_shutdown"] is True:
|
||||
node["properties"]["on_close"] = "save_vm_sate"
|
||||
else:
|
||||
node["properties"]["on_close"] = "power_off"
|
||||
del node["properties"]["acpi_shutdown"]
|
||||
if "save_vm_state" in node["properties"]:
|
||||
del node["properties"]["save_vm_state"]
|
||||
|
||||
Reference in new issue
Block a user