diff --git a/bundles/users/items.py b/bundles/users/items.py index 9026e67..da0691a 100644 --- a/bundles/users/items.py +++ b/bundles/users/items.py @@ -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']