skip templates
This commit is contained in:
parent
f9be014ea2
commit
d643cf85f4
@ -187,6 +187,8 @@ def getvms():
|
||||
vms = []
|
||||
try:
|
||||
for vm in G.proxmox.cluster.resources.get(type='vm'):
|
||||
if vm['template']:
|
||||
continue
|
||||
vms.append(vm)
|
||||
return vms
|
||||
except proxmoxer.core.ResourceException as e:
|
||||
|
Loading…
x
Reference in New Issue
Block a user