mirror of
https://github.com/apache/cloudstack.git
synced 2025-11-02 20:02:29 +01:00
Fix script
This commit is contained in:
parent
79002e7ff7
commit
fb08deda3f
4
extensions/MaaS/maas.py
Normal file → Executable file
4
extensions/MaaS/maas.py
Normal file → Executable file
@ -74,10 +74,6 @@ class MaasManager:
|
||||
"secret": secret,
|
||||
"distro_series": distro_series,
|
||||
"system_id": json_data.get("cloudstack.vm.details", {}).get("details", {}).get("maas_system_id", ""),
|
||||
"vm_name": json_data.get("cloudstack.vm.details", {}).get("name", ""),
|
||||
"memory": json_data.get("cloudstack.vm.details", {}).get("minRam", ""),
|
||||
"cpus": json_data.get("cloudstack.vm.details", {}).get("cpus", ""),
|
||||
"nics": json_data.get("cloudstack.vm.details", {}).get("nics", []),
|
||||
}
|
||||
except Exception as e:
|
||||
fail(f"Error parsing JSON: {str(e)}")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user