mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
remove wazuh-agent exlude being added to repo conf during setup
This commit is contained in:
@@ -435,7 +435,6 @@ fi
|
|||||||
if [[ "$WAZUH" = 1 ]]; then
|
if [[ "$WAZUH" = 1 ]]; then
|
||||||
if [ $OS = 'centos' ]; then
|
if [ $OS = 'centos' ]; then
|
||||||
yum -y install wazuh-agent-3.10.2-1 >> "$setup_log" 2>&1
|
yum -y install wazuh-agent-3.10.2-1 >> "$setup_log" 2>&1
|
||||||
echo "exclude=wazuh-agent" >> /etc/yum.repos.d/wazuh.repo
|
|
||||||
else
|
else
|
||||||
apt-get -y install wazuh-agent=3.10.2-1 >> "$setup_log" 2>&1
|
apt-get -y install wazuh-agent=3.10.2-1 >> "$setup_log" 2>&1
|
||||||
apt-mark hold wazuh-agent >> "$setup_log" 2>&1
|
apt-mark hold wazuh-agent >> "$setup_log" 2>&1
|
||||||
|
|||||||
Reference in New Issue
Block a user