mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-20 16:03:06 +01:00
remove wazuh-agent being installed during setup, let salt mage it
This commit is contained in:
@@ -433,12 +433,6 @@ fi
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "$WAZUH" = 1 ]]; then
|
if [[ "$WAZUH" = 1 ]]; then
|
||||||
if [ $OS = 'centos' ]; then
|
|
||||||
yum -y install wazuh-agent-3.10.2-1 >> "$setup_log" 2>&1
|
|
||||||
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')"
|
set_progress_str 75 "$(print_salt_state_apply 'wazuh')"
|
||||||
salt-call state.apply -l info wazuh >> $setup_log 2>&1
|
salt-call state.apply -l info wazuh >> $setup_log 2>&1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user