Modify reposync useragent

This commit is contained in:
Mike Reeves
2023-03-27 10:14:32 -04:00
parent 72d01b13ed
commit 1602551295

View File

@@ -1976,7 +1976,7 @@ repo_sync_local() {
logCmd "dnf repolist"
# Make sure we can get to the sig repo
# 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
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/"