fix cleaning repos on remote nodes if airgap

This commit is contained in:
Josh Patterson
2025-12-12 14:18:54 -05:00
committed by GitHub
parent c6d52b5eb1
commit 6c5c176b7d

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