Updating HELK after latest PR

keyword-vs-text-changes
Roberto Rodriguez 2018-01-10 23:48:49 -05:00
commit 6bc8585fd8
1 changed files with 8 additions and 1 deletions

View File

@ -51,6 +51,13 @@ ERROR=$?
echoerror "Could not install openjdk-8-jre-headless (Error Code: $ERROR)." echoerror "Could not install openjdk-8-jre-headless (Error Code: $ERROR)."
fi fi
echo "[HELK-BASH-INSTALLATION-INFO] Installing curl.."
apt-get install -y curl >> $LOGFILE 2>&1
ERROR=$?
if [ $ERROR -ne 0 ]; then
echoerror "Could not install curl (Error Code: $ERROR)."
fi
# Elastic signs all of their packages with their own Elastic PGP signing key. # Elastic signs all of their packages with their own Elastic PGP signing key.
echo "[HELK-BASH-INSTALLATION-INFO] Downloading and installing (writing to a file) the public signing key to the host.." echo "[HELK-BASH-INSTALLATION-INFO] Downloading and installing (writing to a file) the public signing key to the host.."
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - >> $LOGFILE 2>&1 wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - >> $LOGFILE 2>&1