Use oneadmin_client to update a user's ssh key
This commit is contained in:
parent
72ea362d01
commit
c99e943ebc
1 changed files with 1 additions and 1 deletions
|
@ -432,7 +432,7 @@ class OpenNebulaManager():
|
||||||
|
|
||||||
:return:
|
:return:
|
||||||
"""
|
"""
|
||||||
return_value = self.client.call(
|
return_value = self.oneadmin_client.call(
|
||||||
'user.update',
|
'user.update',
|
||||||
self.opennebula_user.id,
|
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,
|
||||||
|
|
Loading…
Reference in a new issue