From 03fd8e226db81bfe08bd878b483a8cc8c2586667 Mon Sep 17 00:00:00 2001 From: Mike Reeves Date: Tue, 6 Feb 2018 09:13:41 -0500 Subject: [PATCH] Readying the master for testing --- so-setup-network.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/so-setup-network.sh b/so-setup-network.sh index 9e2e01472..499be9404 100644 --- a/so-setup-network.sh +++ b/so-setup-network.sh @@ -124,10 +124,12 @@ if (whiptail --title "Security Onion Setup" --yesno "Are you sure you want to in ADDUSER=useradd apt-get -y upgrade # grab the version from the os-release file - UVER=$(grep VERSION_ID /etc/os-release | awk) + UVER=$(grep VERSION_ID /etc/os-release | awk -F '[ "]' '{print $2}') wget -O - https://repo.saltstack.com/apt/ubuntu/$UVER/amd64/latest/SALTSTACK-GPG-KEY.pub | apt-key add - + echo "deb http://repo.saltstack.com/apt/ubuntu/$UVER/amd64/latest xenial main" > /etc/apt/sources.list.d/saltstack.list apt-get update apt-get -y install salt-minion + if [ $INSTALLTYPE != 'SENSORONLY' ]; then apt-get -y install salt-master fi