From ad8b7b2c6d5c30d1739d838320dcaf9b8589c2d7 Mon Sep 17 00:00:00 2001 From: Jin-Guk Kwon Date: Wed, 8 Apr 2020 07:18:56 +0200 Subject: [PATCH] [tools]Update get_info.py for uid --- vnc_console_connection/get_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']