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:
parent
2df1a6a8f2
commit
6dab8bc932
1 changed files with 3 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue