Merge pull request #5339 from Security-Onion-Solutions/hotfix/wazuh-update-exclude

wazuh-agent fix + pull in master
This commit is contained in:
Mike Reeves
2021-08-30 17:37:47 -04:00
committed by GitHub
2 changed files with 1 additions and 2 deletions

1
HOTFIX
View File

@@ -1,2 +1 @@
CURATOR GRAFANA_DASH_ALLOW

View File

@@ -2795,7 +2795,7 @@ update_sudoers() {
update_packages() {
if [ "$OS" = 'centos' ]; then
yum repolist >> /dev/null
yum -y update --exclude=salt* >> "$setup_log"
yum -y update --exclude=salt*,wazuh* >> "$setup_log"
else
retry 50 10 "apt-get -y update" >> "$setup_log" 2>&1 || exit 1
retry 50 10 "apt-get -y upgrade" >> "$setup_log" 2>&1 || exit 1