bundles/users: allow setting another shell

This commit is contained in:
Franzi 2021-02-18 14:24:09 +01:00
parent 8a2bef9b77
commit 9bf7f856af
Signed by: kunsi
GPG key ID: 12E3D2136B818350

View file

@ -32,7 +32,7 @@ for username, attrs in node.metadata['users'].items():
user = users.setdefault(username, {})
user['home'] = home
user['shell'] = '/bin/bash'
user['shell'] = attrs.get('shell', '/bin/bash')
if 'password' in attrs:
user['password'] = attrs['password']