aboutsummaryrefslogtreecommitdiff
path: root/docker
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <marcin.juszkiewicz@linaro.org>2020-02-04 19:18:10 +0100
committerMark Goddard <mark@stackhpc.com>2020-03-12 17:43:54 +0000
commit92224ccb518c90d7c269158d074d811aee2f05f0 (patch)
treedb24f6bd9ccffb24a22791229b6bf7895440e820 /docker
parent5498671b344e48d6db865887537ff15cf4028510 (diff)
downloadkolla-92224ccb518c90d7c269158d074d811aee2f05f0.tar.gz
kolla-92224ccb518c90d7c269158d074d811aee2f05f0.zip
CentOS 8: Enable hacluster and masakari images
CentOS 8.1 came with HA repo. So we can use it. hacluster-pcs image is disabled as we lack 'crmsh' package for it. Partially-Implements: blueprint centos-rhel-8 Co-Authored-By: Mark Goddard <mark@stackhpc.com> Change-Id: I1c786eda399eca4464c9d68ac040c2965350f775
Diffstat (limited to 'docker')
-rw-r--r--docker/hacluster/hacluster-base/Dockerfile.j22
-rw-r--r--docker/hacluster/hacluster-pcs/Dockerfile.j22
-rw-r--r--docker/masakari/masakari-monitors/Dockerfile.j22
3 files changed, 3 insertions, 3 deletions
diff --git a/docker/hacluster/hacluster-base/Dockerfile.j2 b/docker/hacluster/hacluster-base/Dockerfile.j2
index 26fc3fd70..6dfbc822e 100644
--- a/docker/hacluster/hacluster-base/Dockerfile.j2
+++ b/docker/hacluster/hacluster-base/Dockerfile.j2
@@ -7,6 +7,8 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
+{{ macros.enable_extra_repos(['hacluster']) }}
+
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start
diff --git a/docker/hacluster/hacluster-pcs/Dockerfile.j2 b/docker/hacluster/hacluster-pcs/Dockerfile.j2
index bb7d92a6c..4486fa72f 100644
--- a/docker/hacluster/hacluster-pcs/Dockerfile.j2
+++ b/docker/hacluster/hacluster-pcs/Dockerfile.j2
@@ -7,8 +7,6 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
-{{ macros.enable_extra_repos(['hacluster']) }}
-
{% set hacluster_pcs_packages = ['pcs','crmsh'] %}
{{ macros.install_packages(hacluster_pcs_packages | customizable("packages")) }}
diff --git a/docker/masakari/masakari-monitors/Dockerfile.j2 b/docker/masakari/masakari-monitors/Dockerfile.j2
index b0856d1dd..d7098f737 100644
--- a/docker/masakari/masakari-monitors/Dockerfile.j2
+++ b/docker/masakari/masakari-monitors/Dockerfile.j2
@@ -7,7 +7,7 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
{% import "macros.j2" as macros with context %}
-{{ macros.configure_user(name='masakari') }}
+{{ macros.enable_extra_repos(['hacluster']) }}
{% if install_type == 'binary' %}