diff --git a/vnc_console_connection/get_info.py b/vnc_console_connection/get_info.py index ac09633..e98ae72 100755 --- a/vnc_console_connection/get_info.py +++ b/vnc_console_connection/get_info.py @@ -69,7 +69,7 @@ def main(): if success: vms = json.loads(json.dumps(parse(response)))['VM_POOL']['VM'] for entry in vm_list.entries: - temp_uname = entry.mail + temp_uname = entry.uid for i, vm in enumerate(vms): vm_user = vm['UNAME'] vm_id = vm['ID']