Add proxmox_type on qemu
This commit is contained in:
parent
c76e31d8d9
commit
1b9f2582cb
|
@ -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:
|
||||
|
|
Reference in New Issue