mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
update mine
update mine after salt-master restart and before highstate
This commit is contained in:
@@ -1439,6 +1439,9 @@ main() {
|
|||||||
# Stop long-running scripts to allow potentially updated scripts to load on the next execution.
|
# Stop long-running scripts to allow potentially updated scripts to load on the next execution.
|
||||||
killall salt-relay.sh
|
killall salt-relay.sh
|
||||||
|
|
||||||
|
# ensure the mine is updated and populated before highstates run, following the salt-master restart
|
||||||
|
update_salt_mine
|
||||||
|
|
||||||
highstate
|
highstate
|
||||||
postupgrade_changes
|
postupgrade_changes
|
||||||
[[ $is_airgap -eq 0 ]] && unmount_update
|
[[ $is_airgap -eq 0 ]] && unmount_update
|
||||||
|
|||||||
Reference in New Issue
Block a user