Skip to content

Commit

Permalink
Update setup-elasticsearch.sh
Browse files Browse the repository at this point in the history
Add the unzip elastic#95
  • Loading branch information
jwsy authored Sep 27, 2019
1 parent d99cf69 commit 2972e86
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions scripts/setup-elasticsearch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,11 @@ if [[ -f bin/elasticsearch-users ]]; then
echo "CA directory exists, removing..."
rm -rf $configdir/certs/ssl/ca
fi
echo "Install unzip if needed..."
if ! command -v unzip &>/dev/null; then
yum -qy install unzip
fi

echo "Unzip ca files..."
unzip $configdir/certs/ssl/docker-cluster-ca.zip -d $configdir/certs/ssl

Expand Down

0 comments on commit 2972e86

Please sign in to comment.