From cc5bf1cf649b962142dd9ea71d303f439dbdb6b6 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Thu, 13 Dec 2018 16:55:48 -0500 Subject: [PATCH] Setup Script - Install the repo on Ubuntu --- so-setup-network.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/so-setup-network.sh b/so-setup-network.sh index 7e1dacf46..775207864 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -795,6 +795,12 @@ EOF wget --inet4-only -O /opt/so/gpg/SALTSTACK-GPG-KEY.pub https://repo.saltstack.com/apt/ubuntu/$UVER/amd64/latest/SALTSTACK-GPG-KEY.pub wget --inet4-only -O /opt/so/gpg/docker.pub https://download.docker.com/linux/ubuntu/gpg wget --inet4-only -O /opt/so/gpg/GPG-KEY-WAZUH https://packages.wazuh.com/key/GPG-KEY-WAZUH + + # Get key and install wazuh + curl -s https://packages.wazuh.com/key/GPG-KEY-WAZUH | apt-key add - + # Add repo + echo "deb https://packages.wazuh.com/3.x/apt/ stable main" | tee /etc/apt/sources.list.d/wazuh.list + # Initialize the new repos apt-get update >>~/sosetup.log 2>&1 apt-get -y install salt-minion python-m2crypto >>~/sosetup.log 2>&1