mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Merge branch '2.2' into 3.0
# Conflicts: # gns3server/compute/docker/docker_vm.py # gns3server/version.py # requirements.txt
This commit is contained in:
commit
df50b46952
30 files changed
+372
-34
No files matched your search
@@ -224,7 +224,7 @@ def _convert_2_1_0(topo, topo_path):
|
||||
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"
|
||||
node["properties"]["on_close"] = "save_vm_state"
|
||||
else:
|
||||
node["properties"]["on_close"] = "power_off"
|
||||
del node["properties"]["acpi_shutdown"]
|
||||
|
||||
Reference in new issue
Block a user