diff --git a/salt/common/tools/sbin/so-common b/salt/common/tools/sbin/so-common index 3ab260eb8..55350d702 100755 --- a/salt/common/tools/sbin/so-common +++ b/salt/common/tools/sbin/so-common @@ -332,7 +332,7 @@ run_check_net_err() { local exit_code if [[ -z $no_retry ]]; then - retry 20 30 "$cmd" + retry 5 60 "$cmd" exit_code=$? else eval "$cmd" diff --git a/salt/common/tools/sbin/so-image-common b/salt/common/tools/sbin/so-image-common index fa1d6c6dd..2c61838b5 100755 --- a/salt/common/tools/sbin/so-image-common +++ b/salt/common/tools/sbin/so-image-common @@ -130,7 +130,7 @@ update_docker_containers() { # Let's make sure we have the public key run_check_net_err \ - "curl --retry 20 --retry-delay 30 -sSL https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/master/KEYS -o $SIGNPATH/KEYS" \ + "curl --retry 5 --retry-delay 60 -sSL https://raw.githubusercontent.com/Security-Onion-Solutions/securityonion/master/KEYS -o $SIGNPATH/KEYS" \ "Could not pull signature key file, please ensure connectivity to https://raw.gihubusercontent.com" \ noretry >> "$LOG_FILE" 2>&1 result=$? @@ -158,7 +158,7 @@ update_docker_containers() { # Get signature run_check_net_err \ - "curl --retry 20 --retry-delay 30 -A '$CURLTYPE/$CURRENTVERSION/$OS/$(uname -r)' https://sigs.securityonion.net/$VERSION/$i:$VERSION$IMAGE_TAG_SUFFIX.sig --output $SIGNPATH/$image.sig" \ + "curl --retry 5 --retry-delay 60 -A '$CURLTYPE/$CURRENTVERSION/$OS/$(uname -r)' https://sigs.securityonion.net/$VERSION/$i:$VERSION$IMAGE_TAG_SUFFIX.sig --output $SIGNPATH/$image.sig" \ "Could not pull signature file, please ensure connectivity to https://sigs.securityonion.net " \ noretry >> "$LOG_FILE" 2>&1 if [[ $? -ne 0 ]]; then