Fix the elasticsearch start failed

elasticsearch start failed due to the version of JAVA

Change-Id: I73d9559a74799ece7963799787337d5717649453
Closes-Bug: #1773736
This commit is contained in:
zhulingjie 2018-05-27 15:07:08 -04:00
parent 838f451f88
commit 478805680d
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 = [