bundles/users: regular users don't need a password

This commit is contained in:
Franzi 2020-03-27 11:28:44 +00:00
parent 8e681e4c39
commit a3c0e6a08e
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -26,7 +26,7 @@ for username, attrs in node.metadata['users'].items():
user['home'] = home
user['shell'] = attrs.get('shell', '/bin/bash')
user['password'] = repo.vault.human_password_for('user {} on {}'.format(username, node.name))
user['password_hash'] = 'x'
if 'groups' in attrs:
user['groups'] = attrs['groups']