mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 09:12:45 +01:00
fix pkg name
This commit is contained in:
@@ -914,7 +914,7 @@ update_airgap_repo() {
|
|||||||
echo "Syncing new updates to /nsm/repo"
|
echo "Syncing new updates to /nsm/repo"
|
||||||
rsync -av $AGREPO/* /nsm/repo/
|
rsync -av $AGREPO/* /nsm/repo/
|
||||||
echo "Creating repo"
|
echo "Creating repo"
|
||||||
dnf -y install yum-utils createrepo
|
dnf -y install yum-utils createrepo_c
|
||||||
createrepo /nsm/repo
|
createrepo /nsm/repo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -1820,7 +1820,7 @@ repo_sync_local() {
|
|||||||
echo "gpgcheck=1" >> /opt/so/conf/reposync/repodownload.conf
|
echo "gpgcheck=1" >> /opt/so/conf/reposync/repodownload.conf
|
||||||
|
|
||||||
logCmd "dnf repolist"
|
logCmd "dnf repolist"
|
||||||
logCmd "dnf -y install yum-utils createrepo"
|
logCmd "dnf -y install yum-utils createrepo_c"
|
||||||
|
|
||||||
if [[ ! $is_airgap ]]; then
|
if [[ ! $is_airgap ]]; then
|
||||||
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
|
||||||
|
|||||||
Reference in New Issue
Block a user