Merge pull request #2042 from kaivogelgesang/master

Fix typo
This commit is contained in:
Jeremy Grossmann authored and GitHub committed 2022-03-23 17:43:48 +10:00
commit 611193b25a
1 file changed
+1 -1
+1 -1
View File
@@ -223,7 +223,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"]