default shell is bash, not fish

... sadly :(
This commit is contained in:
Franzi 2020-02-29 14:47:41 +00:00
parent 010078cc3a
commit d0ba89a1f3
Signed by: kunsi
GPG key ID: 12E3D2136B818350
2 changed files with 2 additions and 2 deletions

View file

@ -25,7 +25,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'] = 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)) user['password'] = repo.vault.human_password_for('user {} on {}'.format(username, node.name))
if 'groups' in attrs: if 'groups' in attrs:

View file

@ -17,9 +17,9 @@ groups['all'] = {
'www-data', 'www-data',
'libvirt', 'libvirt',
], ],
'shell': '/usr/bin/fish',
}, },
'sophie': { 'sophie': {
'shell': '/bin/bash',
'ssh_pubkey': [ 'ssh_pubkey': [
'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDU7XmpX4w+rGQDi+dF6M0q65K2iHVgD1wHBoHREjyqCzmPGZgrnLIv6EN9WWJXjCgRdLEUXgPn7PNJnAgBs3U8G8MsF55yrPNUIsEeg6v+Y6zibEujMrwmeDSk0XAn8iSZcy+4cnqykIMk9Hd5WXW7ZhSHGs4MftWn3Z/q15qPHl/w9OyaKDJAjk8yEsD1sZoAQMhomKliKjJ5a6jNyf7otS3HdbZx4KXABJNuWn/IvmwkcaIU8ljyuPkPkiMn5JWhcUK2kE81Y4a5zJxxusSXSF6Ip7W2Rhv+4gnScTjhTPsG70HlSF/LAB2ytKo0F0N/ZB2hJk+Jq6cAwNBzuST7 sophie@ejgwmobile', 'ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDU7XmpX4w+rGQDi+dF6M0q65K2iHVgD1wHBoHREjyqCzmPGZgrnLIv6EN9WWJXjCgRdLEUXgPn7PNJnAgBs3U8G8MsF55yrPNUIsEeg6v+Y6zibEujMrwmeDSk0XAn8iSZcy+4cnqykIMk9Hd5WXW7ZhSHGs4MftWn3Z/q15qPHl/w9OyaKDJAjk8yEsD1sZoAQMhomKliKjJ5a6jNyf7otS3HdbZx4KXABJNuWn/IvmwkcaIU8ljyuPkPkiMn5JWhcUK2kE81Y4a5zJxxusSXSF6Ip7W2Rhv+4gnScTjhTPsG70HlSF/LAB2ytKo0F0N/ZB2hJk+Jq6cAwNBzuST7 sophie@ejgwmobile',
], ],