Merge pull request #3783 from Security-Onion-Solutions/airgapfix

Fix Logic for Airgap distributed
This commit is contained in:
Mike Reeves authored and GitHub committed 2021-04-07 10:18:07 -04:00
commit 95b440de43
1 file changed
+1 -1
+1 -1
View File
@@ -2285,7 +2285,7 @@ secrets_pillar(){
securityonion_repo() {
# Remove all the current repos
if [[ "$OS" == "centos" ]]; then
if [[ "$OS" == "centos" && ! $is_airgap ]]; then
mkdir -p /root/oldrepos
mv /etc/yum.repos.d/* /root/oldrepos/
rm -f /etc/yum.repos.d/*