mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-10 03:02:58 +01:00
This commit is contained in:
@@ -424,6 +424,13 @@ export percentage=0
|
||||
fi
|
||||
|
||||
if [[ "$WAZUH" = 1 ]]; then
|
||||
if [ $OS = 'centos' ]; then
|
||||
yum -y install wazuh-agent-3.10.2-1 >> "$setup_log" 2>&1
|
||||
echo "exclude=wazuh-agent" >> /etc/yum.repos.d/wazuh.repo
|
||||
else
|
||||
apt-get -y install wazuh-agent=3.10.2-1 >> "$setup_log" 2>&1
|
||||
apt-mark hold wazuh-agent >> "$setup_log" 2>&1
|
||||
fi
|
||||
set_progress_str 75 "$(print_salt_state_apply 'wazuh')"
|
||||
salt-call state.apply -l info wazuh >> $setup_log 2>&1
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user