Sending things to the screen

This commit is contained in:
Mike Reeves
2022-04-11 11:43:13 -04:00
parent a3bf904e2d
commit 97e691c321
2 changed files with 5 additions and 3 deletions

View File

@@ -149,7 +149,9 @@ analyst_salt_local() {
logCmd "yum -y update --exclude=salt*"
logCmd "systemctl enable salt-minion"
logCmd "salt-call state.apply workstation --local --file-root=../salt/ -l info"
salt-call state.apply workstation --local --file-root=$(dirname "$0")/salt/ -l info 2>&1 | tee -a outfile
echo "Whiptail to reboot here"
exit 0
}