Merge pull request #15304 from Security-Onion-Solutions/ggjorge

fix cleaning repos on remote nodes if airgap
This commit is contained in:
Josh Patterson
2025-12-12 14:22:21 -05:00
committed by GitHub

View File

@@ -1872,7 +1872,7 @@ main() {
if [[ $is_airgap -eq 0 ]]; then
echo ""
echo "Cleaning repos on remote Security Onion nodes."
salt -C 'not *_eval and not *_manager and not *_managersearch and not *_standalone and G@os:CentOS' cmd.run "yum clean all"
salt -C 'not *_eval and not *_manager* and not *_standalone and G@os:OEL' cmd.run "dnf clean all"
echo ""
fi
fi