mirror of
https://github.com/ThomasGsp/HyperProxmox.git
synced 2025-03-09 15:40:18 +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
|
instance["macaddr"] = maclist
|
||||||
|
|
||||||
|
""" Fix type for lxc output """
|
||||||
|
instance["vmid"] = int(instance["vmid"])
|
||||||
|
|
||||||
""" Following instance ID """
|
""" Following instance ID """
|
||||||
if self.generalconf["analyst"]["walker_uid"]:
|
if self.generalconf["analyst"]["walker_uid"]:
|
||||||
getidfromdesc = re.search("id=\"([A-Z\.\d\_]+)\"", currentdesc)
|
getidfromdesc = re.search("id=\"([A-Z\.\d\_]+)\"", currentdesc)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue