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 "yum -y update --exclude=salt*"
logCmd "systemctl enable salt-minion" 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
} }

View File

@@ -15,6 +15,6 @@
# You should have received a copy of the GNU General Public License # You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>. # along with this program. If not, see <http://www.gnu.org/licenses/>.
cd "$(dirname "$0")/salt/common/tools/sbin" || exit 255 cd "$(dirname "$0")/setup" || exit 255
./so-analyst-install ./so-setup network "$@"