From 1b9f2582cb12e0351f2979bc946db8544d452234 Mon Sep 17 00:00:00 2001 From: maynero Date: Sun, 9 May 2021 16:31:26 +0800 Subject: [PATCH] Add proxmox_type on qemu --- proxmox.py | 1 + 1 file changed, 1 insertion(+) diff --git a/proxmox.py b/proxmox.py index f7bd814..90193d2 100755 --- a/proxmox.py +++ b/proxmox.py @@ -321,6 +321,7 @@ def main_list(options, config_path): type = results['_meta']['hostvars'][vm]['proxmox_type'] except KeyError: type = 'qemu' + results['_meta']['hostvars'][vm]['proxmox_type'] = 'qemu' try: description = proxmox_api.vm_description_by_type(node, vmid, type)['description'] except KeyError: