summaryrefslogtreecommitdiff
path: root/cloudinit/distros
diff options
context:
space:
mode:
authorAlex Sirbu <alexandru.sirbu@bigstep.com>2016-03-02 09:57:05 +0000
committerAlex Sirbu <alexandru.sirbu@bigstep.com>2016-03-02 09:57:05 +0000
commit921728d42731091f849d21dbef0920b84c559480 (patch)
tree7dca38698c02a255767e14647f61d19dd4b618f6 /cloudinit/distros
parent603bdecc5aaa34043379aa4311c271d52dfe61e8 (diff)
downloadvyos-cloud-init-921728d42731091f849d21dbef0920b84c559480.tar.gz
vyos-cloud-init-921728d42731091f849d21dbef0920b84c559480.zip
Used keyword for parameter in order to make it clearer what it represents.
Diffstat (limited to 'cloudinit/distros')
-rw-r--r--cloudinit/distros/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/distros/__init__.py b/cloudinit/distros/__init__.py
index 6778c93a..fec18cd2 100644
--- a/cloudinit/distros/__init__.py
+++ b/cloudinit/distros/__init__.py
@@ -395,7 +395,7 @@ class Distro(object):
# Set password if hashed password is provided and non-empty
if 'hashed_passwd' in kwargs and kwargs['hashed_passwd']:
- self.set_passwd(name, kwargs['hashed_passwd'], True)
+ self.set_passwd(name, kwargs['hashed_passwd'], hashed=True)
# Default locking down the account. 'lock_passwd' defaults to True.
# lock account unless lock_password is False.