Don't sync down the repo for airgap

This commit is contained in:
Mike Reeves
2023-05-10 11:19:36 -04:00
parent f501fac9cd
commit 9564158c32

View File

@@ -1918,7 +1918,6 @@ securityonion_repo() {
# Remove all the current repos # Remove all the current repos
if [[ $is_rocky ]]; then if [[ $is_rocky ]]; then
logCmd "dnf -v clean all" logCmd "dnf -v clean all"
logCmd "dnf -y erase rocky-repos"
logCmd "mkdir -vp /root/oldrepos" logCmd "mkdir -vp /root/oldrepos"
logCmd "mv -v /etc/yum.repos.d/* /root/oldrepos/" logCmd "mv -v /etc/yum.repos.d/* /root/oldrepos/"
logCmd "ls -la /etc/yum.repos.d/" logCmd "ls -la /etc/yum.repos.d/"