Merge "Fix the elasticsearch start failed"

This commit is contained in:
Zuul 2018-05-30 16:16:38 +00:00 committed by Gerrit Code Review
commit 98a6804860
1 changed files with 2 additions and 2 deletions

View File

@ -10,10 +10,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set elasticsearch_packages = [
'elasticsearch',
'java-1.7.0-openjdk'
'java-1.8.0-openjdk'
] %}
ENV JAVA_HOME /usr/lib/jvm/jre-1.7.0-openjdk/
ENV JAVA_HOME /usr/lib/jvm/jre-1.8.0-openjdk/
{% elif base_distro in ['debian', 'ubuntu'] %}
{% set elasticsearch_packages = [