From d643cf85f49cb4936accc10280c7fc4962ea208d Mon Sep 17 00:00:00 2001 From: aacater Date: Fri, 9 Sep 2022 17:44:28 -0800 Subject: [PATCH] skip templates --- vdiclient.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vdiclient.py b/vdiclient.py index 024ce1b..691e763 100644 --- a/vdiclient.py +++ b/vdiclient.py @@ -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: