Make soup use reposync from the repo

This commit is contained in:
Mike Reeves
2024-06-21 14:49:16 -04:00
parent ff4679ec08
commit b84521cdd2

View File

@@ -483,8 +483,11 @@ post_to_2.4.80() {
}
repo_sync() {
# Making sure reposync is the latest
cp $UPDATE_DIR/salt/manager/tools/sbin/so-repo-sync /usr/sbin
chmod +x /usr/sbin/so-repo-sync
echo "Sync the local repo."
su socore -c '/tmp/sogh/securityonion/salt/manager/tools/sbin/so-repo-sync' || fail "Unable to complete so-repo-sync."
su socore -c '/usr/sbin/so-repo-sync' || fail "Unable to complete so-repo-sync."
}
stop_salt_master() {