mirror of
https://github.com/dkmstr/openuds.git
synced 2025-03-12 04:58:34 +03:00
Fixiung up og
This commit is contained in:
parent
df70dd4fd8
commit
ad1bf0fe0b
@ -201,7 +201,7 @@ class OpenGnsysClient(object):
|
||||
'image': image,
|
||||
'lab': lab,
|
||||
'client': res['id'],
|
||||
'id': '.'.join((six.text_type(ou), six.text_type(res['lab'][0]), six.text_type(res['id']))),
|
||||
'id': '.'.join((six.text_type(ou), six.text_type(res['lab']['id']), six.text_type(res['id']))),
|
||||
'name': res['name'],
|
||||
'ip': res['ip'],
|
||||
'mac': ':'.join(re.findall('..', res['mac']))
|
||||
|
Loading…
x
Reference in New Issue
Block a user