mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
Increase timeout from 10s to 30s
This commit is contained in:
@@ -135,7 +135,7 @@ shift $(($OPTIND - 1))
|
|||||||
# fi
|
# fi
|
||||||
|
|
||||||
# Default action -> try to register the agent
|
# Default action -> try to register the agent
|
||||||
sleep 10s
|
sleep 30s
|
||||||
STATUS=$(curl -s -k -u $USER:$PASSWORD $PROTOCOL://$API_IP:$API_PORT/agents/$AGENT_ID | jq .data.status | sed s'/"//g')
|
STATUS=$(curl -s -k -u $USER:$PASSWORD $PROTOCOL://$API_IP:$API_PORT/agents/$AGENT_ID | jq .data.status | sed s'/"//g')
|
||||||
if [[ $STATUS == "Active" ]]; then
|
if [[ $STATUS == "Active" ]]; then
|
||||||
echo "Agent $AGENT_ID already registered!"
|
echo "Agent $AGENT_ID already registered!"
|
||||||
|
|||||||
Reference in New Issue
Block a user