1
0
Fork 0
mirror of https://github.com/ThomasGsp/HyperProxmox.git synced 2025-02-12 11:12:10 +00:00

Fix VM id str -> int to lxc

This commit is contained in:
Tlams 2018-05-02 16:04:47 +01:00
parent 2df1a6a8f2
commit 6dab8bc932

View file

@ -183,6 +183,9 @@ class Analyse:
instance["macaddr"] = maclist
""" Fix type for lxc output """
instance["vmid"] = int(instance["vmid"])
""" Following instance ID """
if self.generalconf["analyst"]["walker_uid"]:
getidfromdesc = re.search("id=\"([A-Z\.\d\_]+)\"", currentdesc)