Merge pull request #22414 from syphernl/fix/proxmox_kvm

Cloud: Do not look for disk underneath config in Proxmox driver
This commit is contained in:
Thomas S Hatch 2015-04-07 13:13:54 -06:00
commit ff04f1030e

View File

@ -416,7 +416,7 @@ def list_nodes(call=None):
ret[vm_name] = {}
ret[vm_name]['id'] = str(vm_details['vmid'])
ret[vm_name]['image'] = str(vm_details['vmid'])
ret[vm_name]['size'] = str(vm_details['config']['disk'])
ret[vm_name]['size'] = str(vm_details['disk'])
ret[vm_name]['state'] = str(vm_details['status'])
# Figure out which is which to put it in the right column