mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2026-08-25 08:58:22 +02:00
add pause allowing fleet server to come up prior to health check
This commit is contained in:
@@ -352,6 +352,8 @@ check_fleet_server() {
|
||||
docker stop so-elastic-fleet; docker rm -f so-elastic-fleet
|
||||
printf "\nUpdated sysctl fs.protected_symlinks. Restarting fleet before running health check and continuing with soup.\n"
|
||||
salt-call state.apply elasticfleet queue=True
|
||||
echo "Fleet restarted, waiting 2 minutes before checking fleet health and continuing SOUP...";
|
||||
for i in {1..12}; do printf "."; sleep 10; done
|
||||
fi
|
||||
|
||||
# Modeled on the wait_for_so-elastic-fleet state check in elasticfleet/enabled.sls,
|
||||
|
||||
Reference in New Issue
Block a user