Use SSH_PUBLIC_KEY within CONTEXT

This commit is contained in:
PCoder 2019-05-11 00:31:25 +02:00
parent 6a1faa52e4
commit 5146daa680

View file

@ -384,7 +384,7 @@ class OpenNebulaManager():
return_value = self.client.call(
'user.update',
self.opennebula_user.id,
'<SSH_PUBLIC_KEY>%s</SSH_PUBLIC_KEY>' % ssh_key,
'<CONTEXT><SSH_PUBLIC_KEY>%s</SSH_PUBLIC_KEY></CONTEXT>' % ssh_key,
UPDATE_TYPE
)
if type(return_value) == int: