Browse Source

Merge "Delete default gnocchi & aodh wsgi conf in Ubuntu binary" into stable/stein

tags/8.0.1
Zuul 1 month ago
parent
commit
7f719b1865
2 changed files with 8 additions and 0 deletions
  1. 4
    0
      docker/aodh/aodh-api/Dockerfile.j2
  2. 4
    0
      docker/gnocchi/gnocchi-api/Dockerfile.j2

+ 4
- 0
docker/aodh/aodh-api/Dockerfile.j2 View File

@@ -12,6 +12,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
12 12
         {% set aodh_api_packages = ['aodh-api'] %}
13 13
     {% endif %}
14 14
 {{ macros.install_packages(aodh_api_packages | customizable("packages")) }}
15
+
16
+    {% if base_package_type == 'deb' %}
17
+RUN rm -rf /etc/apache2/sites-enabled/aodh-api.conf
18
+    {% endif %}
15 19
 {% endif %}
16 20
 
17 21
 COPY extend_start.sh /usr/local/bin/kolla_aodh_extend_start

+ 4
- 0
docker/gnocchi/gnocchi-api/Dockerfile.j2 View File

@@ -15,6 +15,10 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build
15 15
         {% set gnocchi_api_packages = ['gnocchi-api'] %}
16 16
     {% endif %}
17 17
 {{ macros.install_packages(gnocchi_api_packages | customizable("packages")) }}
18
+
19
+    {% if base_package_type == 'deb' %}
20
+RUN rm -rf /etc/apache2/sites-enabled/gnocchi-api.conf
21
+    {% endif %}
18 22
 {% endif %}
19 23
 
20 24
 COPY extend_start.sh /usr/local/bin/kolla_gnocchi_extend_start

Loading…
Cancel
Save