Merge pull request #13853 from Security-Onion-Solutions/agcr

install createrepo for airgap
This commit is contained in:
Josh Patterson
2024-10-23 14:21:26 -04:00
committed by GitHub
3 changed files with 8 additions and 3 deletions

View File

@@ -931,7 +931,7 @@ update_airgap_repo() {
echo "Syncing new updates to /nsm/repo"
rsync -av $AGREPO/* /nsm/repo/
echo "Creating repo"
dnf -y install yum-utils createrepo
dnf -y install yum-utils createrepo_c
createrepo /nsm/repo
}