Support to reset MAC addresses for Docker nodes and some adjustments for fast duplication.

This commit is contained in:
grossmj committed 2024-09-26 18:41:23 +07:00
1 parent 1332e940fd
commit 996dad2f5c
2 files changed
+10 -10

No files matched your search

+1 -1
View File
@@ -200,7 +200,7 @@ async def _patch_project_file(project, path, zstream, include_images, keep_compu
if not keep_compute_ids:
node["compute_id"] = "local" # To make project portable all node by default run on local
if "properties" in node and node["node_type"] != "docker":
if "properties" in node:
for prop, value in node["properties"].items():
# reset the MAC address