Pass the opennebula user id as the object id

This commit is contained in:
PCoder 2019-05-10 23:57:52 +02:00
parent c92b8c6fac
commit 85136d80cc
1 changed files with 1 additions and 2 deletions

View File

@ -383,8 +383,7 @@ class OpenNebulaManager():
UPDATE_TYPE = 1
return_value = self.client.call(
'user.update',
self.email,
self.password,
self.opennebula_user.id,
'<SSH_PUBLIC_KEY>%s</SSH_PUBLIC_KEY>' % ssh_key,
UPDATE_TYPE
)