From 4b73f859d115236ec7a525c98c87afda8676ef4c Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 25 Apr 2023 15:33:08 -0400 Subject: [PATCH] don't sync the repo 2x --- setup/so-functions | 2 -- 1 file changed, 2 deletions(-) diff --git a/setup/so-functions b/setup/so-functions index c02b93fcb..d2506cac5 100755 --- a/setup/so-functions +++ b/setup/so-functions @@ -2001,8 +2001,6 @@ repo_sync_local() { # TODO Add if for ISO install curl --retry 5 --retry-delay 60 -A "netinstall/$SOVERSION/$OS/$(uname -r)/1" https://sigs.securityonion.net/checkup --output /tmp/install logCmd "dnf reposync --norepopath -g --delete -m -c /opt/so/conf/reposync/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/" - # Run it again and make sure we got allt he things - logCmd "dnf reposync --norepopath -g --delete -m -c /opt/so/conf/reposync/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/" # After the download is complete run createrepo create_repo