From 70c001e22b37c8cc45f962a898aab1fcb163b733 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Fri, 21 Jun 2024 13:37:36 -0400 Subject: [PATCH] Update so-repo-sync --- salt/manager/tools/sbin/so-repo-sync | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/salt/manager/tools/sbin/so-repo-sync b/salt/manager/tools/sbin/so-repo-sync index a0393a36b..d7cdcc32d 100644 --- a/salt/manager/tools/sbin/so-repo-sync +++ b/salt/manager/tools/sbin/so-repo-sync @@ -7,6 +7,11 @@ NOROOT=1 . /usr/sbin/so-common +# See if a proxy is set. If so use it. +if [ -f /etc/profile.d/so-proxy.sh ]; then + . /etc/profile.d/so-proxy.sh +fi + set -e curl --retry 5 --retry-delay 60 -A "reposync/$(sync_options)" https://sigs.securityonion.net/checkup --output /tmp/checkup