set zsh as login shell
install various packages
This commit is contained in:
parent
f0fd0bd7f5
commit
6670ffafa9
5 changed files with 41 additions and 13 deletions
5
roles/system/facts/login_shell.fact
Executable file
5
roles/system/facts/login_shell.fact
Executable file
|
@ -0,0 +1,5 @@
|
|||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
LOGINSHELL=`getent passwd $USER | cut -d: -f7`
|
||||
echo \"${LOGINSHELL}\"
|
Reference in a new issue