From 9bf7f856afd857083ddac0f4fb32cd87c81a2cf1 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Thu, 18 Feb 2021 14:24:09 +0100 Subject: [PATCH] bundles/users: allow setting another shell --- bundles/users/items.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']