exclude rocky-repos and remove files

This commit is contained in:
m0duspwnens
2023-06-21 13:27:34 -04:00
parent b60cf29598
commit 1675b787bf
3 changed files with 8 additions and 3 deletions

View File

@@ -2402,7 +2402,7 @@ update_sudoers_for_testing() {
update_packages() {
if [[ $is_rocky ]]; then
logCmd "dnf repolist"
logCmd "dnf -y update --allowerasing --exclude=salt*,wazuh*,docker*,containerd*"
logCmd "dnf -y update --allowerasing --exclude=salt*,docker*,containerd*,rocky-repos"
else
info "Running apt-get update"
retry 150 10 "apt-get -y update" "" "Err:" >> "$setup_log" 2>&1 || fail_setup