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:
parent
838f451f88
commit
478805680d
@ -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 = [
|
||||
|
Loading…
x
Reference in New Issue
Block a user