Uncomment password change call

This commit is contained in:
PCoder 2019-12-14 19:47:01 +05:30
parent eda766dc6c
commit 9c96f2447c

View file

@ -491,11 +491,11 @@ class OpenNebulaManager():
else:
logger.debug("opennebula_user is object and corresponding id is %s"
% self.opennebula_user.id)
# self.oneadmin_client.call(
# oca.User.METHODS['passwd'],
# self.opennebula_user if type(self.opennebula_user) == int else self.opennebula_user.id,
# passwd_hash
# )
self.oneadmin_client.call(
oca.User.METHODS['passwd'],
self.opennebula_user if type(self.opennebula_user) == int else self.opennebula_user.id,
passwd_hash
)
def add_public_key(self, user, public_key='', merge=False):
"""