mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-09 02:32:46 +01:00
Update repo URL
This commit is contained in:
@@ -1946,7 +1946,7 @@ repo_sync_local() {
|
|||||||
echo "keepcache=0" >> /root/repodownload.conf
|
echo "keepcache=0" >> /root/repodownload.conf
|
||||||
echo "[securityonionsync]" >> /root/repodownload.conf
|
echo "[securityonionsync]" >> /root/repodownload.conf
|
||||||
echo "name=Security Onion Repo repo" >> /root/repodownload.conf
|
echo "name=Security Onion Repo repo" >> /root/repodownload.conf
|
||||||
echo "baseurl=https://repo.securityonion.net/file/securityonion-repo/2,4/" >> /root/repodownload.conf
|
echo "baseurl=https://repo.securityonion.net/file/securityonion-repo/2.4/" >> /root/repodownload.conf
|
||||||
echo "enabled=1" >> /root/repodownload.conf
|
echo "enabled=1" >> /root/repodownload.conf
|
||||||
echo "gpgcheck=1" >> /root/repodownload.conf
|
echo "gpgcheck=1" >> /root/repodownload.conf
|
||||||
echo "gpgkey=https://repo.securityonion.net/file/securityonion-repo/keys/securityonion.pub" >> /root/repodownload.conf
|
echo "gpgkey=https://repo.securityonion.net/file/securityonion-repo/keys/securityonion.pub" >> /root/repodownload.conf
|
||||||
@@ -1961,7 +1961,7 @@ repo_sync_local() {
|
|||||||
fi
|
fi
|
||||||
dnf repolist
|
dnf repolist
|
||||||
# Make sure we can get to the sig repo
|
# Make sure we can get to the sig repo
|
||||||
logCmd "curl --retry 5 --retry-delay 60 -A 'gridinstall/$SOVERSION/$OS/$(uname -r)' https://sigs.securityonion.net/checkup --output /tmp/checkup"
|
logCmd "curl --retry 5 --retry-delay 60 -A 'gridinstall/$SOVERSION/$OS/$(uname -r)/1' https://sigs.securityonion.net/checkup --output /tmp/checkup"
|
||||||
logCmd "dnf reposync --norepopath -n -g --delete -m -c /root/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/"
|
logCmd "dnf reposync --norepopath -n -g --delete -m -c /root/repodownload.conf --repoid=securityonionsync --download-metadata -p /nsm/repo/"
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user