Use SSH_PUBLIC_KEY within CONTEXT
This commit is contained in:
parent
6a1faa52e4
commit
5146daa680
1 changed files with 1 additions and 1 deletions
|
@ -384,7 +384,7 @@ class OpenNebulaManager():
|
||||||
return_value = self.client.call(
|
return_value = self.client.call(
|
||||||
'user.update',
|
'user.update',
|
||||||
self.opennebula_user.id,
|
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
|
UPDATE_TYPE
|
||||||
)
|
)
|
||||||
if type(return_value) == int:
|
if type(return_value) == int:
|
||||||
|
|
Loading…
Reference in a new issue