bundles/users: regular users don't need a password
This commit is contained in:
parent
8e681e4c39
commit
a3c0e6a08e
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ for username, attrs in node.metadata['users'].items():
|
||||||
|
|
||||||
user['home'] = home
|
user['home'] = home
|
||||||
user['shell'] = attrs.get('shell', '/bin/bash')
|
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:
|
if 'groups' in attrs:
|
||||||
user['groups'] = attrs['groups']
|
user['groups'] = attrs['groups']
|
||||||
|
|
Loading…
Add table
Reference in a new issue