[tools]Update get_info.py for uid
This commit is contained in:
parent
873eca6467
commit
ad8b7b2c6d
1 changed files with 1 additions and 1 deletions
|
@ -69,7 +69,7 @@ def main():
|
||||||
if success:
|
if success:
|
||||||
vms = json.loads(json.dumps(parse(response)))['VM_POOL']['VM']
|
vms = json.loads(json.dumps(parse(response)))['VM_POOL']['VM']
|
||||||
for entry in vm_list.entries:
|
for entry in vm_list.entries:
|
||||||
temp_uname = entry.mail
|
temp_uname = entry.uid
|
||||||
for i, vm in enumerate(vms):
|
for i, vm in enumerate(vms):
|
||||||
vm_user = vm['UNAME']
|
vm_user = vm['UNAME']
|
||||||
vm_id = vm['ID']
|
vm_id = vm['ID']
|
||||||
|
|
Loading…
Reference in a new issue