mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Sending things to the screen
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -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 "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user