mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
disable salt schedule after highstate then enable later in setup
This commit is contained in:
@@ -659,6 +659,7 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
logCmd "salt-call state.apply -l info manager"
|
logCmd "salt-call state.apply -l info manager"
|
||||||
logCmd "salt-call state.apply influxdb -l info"
|
logCmd "salt-call state.apply influxdb -l info"
|
||||||
logCmd "salt-call state.highstate -l info"
|
logCmd "salt-call state.highstate -l info"
|
||||||
|
logCmd "salt-call schedule.disable -linfo --local"
|
||||||
if [[ ! $is_airgap ]]; then
|
if [[ ! $is_airgap ]]; then
|
||||||
title "Downloading IDS Rules"
|
title "Downloading IDS Rules"
|
||||||
logCmd "so-rule-update"
|
logCmd "so-rule-update"
|
||||||
@@ -683,6 +684,7 @@ if ! [[ -f $install_opt_file ]]; then
|
|||||||
fi
|
fi
|
||||||
checkin_at_boot
|
checkin_at_boot
|
||||||
set_initial_firewall_access
|
set_initial_firewall_access
|
||||||
|
logCmd "salt-call schedule.enable -linfo --local"
|
||||||
systemctl restart salt-master
|
systemctl restart salt-master
|
||||||
systemctl restart salt-minion
|
systemctl restart salt-minion
|
||||||
verify_setup
|
verify_setup
|
||||||
|
|||||||
Reference in New Issue
Block a user