Get the correct opennebula user id
This commit is contained in:
parent
921d832f9e
commit
44921014a2
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ class OpenNebulaManager():
|
||||||
"""
|
"""
|
||||||
return_value = self.oneadmin_client.call(
|
return_value = self.oneadmin_client.call(
|
||||||
'user.update',
|
'user.update',
|
||||||
self.opennebula_user.id,
|
self.opennebula_user if type(self.opennebula_user) == int else self.opennebula_user.id,
|
||||||
'<CONTEXT><SSH_PUBLIC_KEY>%s</SSH_PUBLIC_KEY></CONTEXT>' % ssh_key,
|
'<CONTEXT><SSH_PUBLIC_KEY>%s</SSH_PUBLIC_KEY></CONTEXT>' % ssh_key,
|
||||||
update_type
|
update_type
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue