Use oneadmin_client to update a user's ssh key

This commit is contained in:
PCoder 2019-06-10 09:23:48 +02:00
parent 72ea362d01
commit c99e943ebc

View file

@ -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,