diff --git a/scripts/setup-elasticsearch.sh b/scripts/setup-elasticsearch.sh index 13830e8..35af48b 100755 --- a/scripts/setup-elasticsearch.sh +++ b/scripts/setup-elasticsearch.sh @@ -37,6 +37,10 @@ if [[ -d /usr/share/elasticsearch/bin/x-pack ]]; then echo "CA directory exists, removing..." rm -rf /config/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 /config/ssl/docker-cluster-ca.zip -d /config/ssl