mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
Update hive_init
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
{%- set HIVEKEY = salt['pillar.get']('static:hivekey', '') %}
|
{%- set HIVEKEY = salt['pillar.get']('static:hivekey', '') %}
|
||||||
|
|
||||||
hive_init(){
|
hive_init(){
|
||||||
sleep 60
|
sleep 120
|
||||||
HIVE_IP="{{MASTERIP}}"
|
HIVE_IP="{{MASTERIP}}"
|
||||||
HIVE_USER="{{HIVEUSER}}"
|
HIVE_USER="{{HIVEUSER}}"
|
||||||
HIVE_PASSWORD="{{HIVEPASSWORD}}"
|
HIVE_PASSWORD="{{HIVEPASSWORD}}"
|
||||||
@@ -52,7 +52,7 @@ if [ -f /opt/so/state/thehive.txt ]; then
|
|||||||
exit 0
|
exit 0
|
||||||
else
|
else
|
||||||
rm -f garbage_file
|
rm -f garbage_file
|
||||||
while ! wget -O garbage_file {{MASTERIP}}:9500 2>/dev/null
|
while ! wget -O garbage_file {{MASTERIP}}:9400 2>/dev/null
|
||||||
do
|
do
|
||||||
echo "Waiting for Elasticsearch..."
|
echo "Waiting for Elasticsearch..."
|
||||||
rm -f garbage_file
|
rm -f garbage_file
|
||||||
|
|||||||
Reference in New Issue
Block a user