From d0ba89a1f3200d7fae66f879d563cfb7b4421a45 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sat, 29 Feb 2020 14:47:41 +0000 Subject: [PATCH] default shell is bash, not fish ... sadly :( --- bundles/users/items.py | 2 +- groups/all.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/bundles/users/items.py b/bundles/users/items.py index 775888a..5ec6e74 100644 --- a/bundles/users/items.py +++ b/bundles/users/items.py @@ -25,7 +25,7 @@ for username, attrs in node.metadata['users'].items(): user = users.setdefault(username, {}) user['home'] = home - user['shell'] = attrs.get('shell', '/usr/bin/fish') + user['shell'] = attrs.get('shell', '/bin/bash') user['password'] = repo.vault.human_password_for('user {} on {}'.format(username, node.name)) if 'groups' in attrs: diff --git a/groups/all.py b/groups/all.py index 2d1f85b..b135194 100644 --- a/groups/all.py +++ b/groups/all.py @@ -17,9 +17,9 @@ groups['all'] = { 'www-data', 'libvirt', ], + 'shell': '/usr/bin/fish', }, 'sophie': { - 'shell': '/bin/bash', 'ssh_pubkey': [ 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDU7XmpX4w+rGQDi+dF6M0q65K2iHVgD1wHBoHREjyqCzmPGZgrnLIv6EN9WWJXjCgRdLEUXgPn7PNJnAgBs3U8G8MsF55yrPNUIsEeg6v+Y6zibEujMrwmeDSk0XAn8iSZcy+4cnqykIMk9Hd5WXW7ZhSHGs4MftWn3Z/q15qPHl/w9OyaKDJAjk8yEsD1sZoAQMhomKliKjJ5a6jNyf7otS3HdbZx4KXABJNuWn/IvmwkcaIU8ljyuPkPkiMn5JWhcUK2kE81Y4a5zJxxusSXSF6Ip7W2Rhv+4gnScTjhTPsG70HlSF/LAB2ytKo0F0N/ZB2hJk+Jq6cAwNBzuST7 sophie@ejgwmobile', ],