bundles/users: allow setting another shell
This commit is contained in:
parent
8a2bef9b77
commit
9bf7f856af
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ for username, attrs in node.metadata['users'].items():
|
||||||
user = users.setdefault(username, {})
|
user = users.setdefault(username, {})
|
||||||
|
|
||||||
user['home'] = home
|
user['home'] = home
|
||||||
user['shell'] = '/bin/bash'
|
user['shell'] = attrs.get('shell', '/bin/bash')
|
||||||
|
|
||||||
if 'password' in attrs:
|
if 'password' in attrs:
|
||||||
user['password'] = attrs['password']
|
user['password'] = attrs['password']
|
||||||
|
|
Loading…
Reference in a new issue