feat: export ESXi host / Proxmox node per VM in offline JSON

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
MrBlakeandClaude Opus 5.5 committed 2026-10-29 12:36:09 +01:00
1 parent 28c6654f6b
commit dc39c8f4ec
2 files changed
+5 -3

No files matched your search

+1
View File
@@ -75,6 +75,7 @@ def validate(data):
raise ExchangeError("Die Datei enthält eine VM ohne Name oder Quelle.")
vm.setdefault("interfaces", [])
vm.setdefault("cluster", "")
vm.setdefault("host", "")
vm.setdefault("status", "offline")
for key in ("vcpus", "memory", "disk"):
vm[key] = int(vm.get(key) or 0)