diff options
| author | Paul Bourke <paul.bourke@oracle.com> | 2016-08-05 11:50:16 +0000 |
|---|---|---|
| committer | Paul Bourke <paul.bourke@oracle.com> | 2016-08-25 14:06:01 +0100 |
| commit | d3c60d0035d62ece4277f59c40aabe570539face (patch) | |
| tree | 8c453f8a6ba039539bdcfc294d34368a32be476e /docker/nova/nova-conductor | |
| parent | d8755e173ff6744e13fa73cbc4ed6b384c51a3e3 (diff) | |
| download | kolla-d3c60d0035d62ece4277f59c40aabe570539face.tar.gz kolla-d3c60d0035d62ece4277f59c40aabe570539face.zip | |
Customizations for Nova
Change-Id: I7556d6cd473516c7ceb4aba7c1ba1130af2544ee
Partially-implements: blueprint third-party-plugin-support
Diffstat (limited to 'docker/nova/nova-conductor')
| -rw-r--r-- | docker/nova/nova-conductor/Dockerfile.j2 | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/docker/nova/nova-conductor/Dockerfile.j2 b/docker/nova/nova-conductor/Dockerfile.j2 index e53ba7e8f..4bb5658aa 100644 --- a/docker/nova/nova-conductor/Dockerfile.j2 +++ b/docker/nova/nova-conductor/Dockerfile.j2 @@ -1,22 +1,29 @@ FROM {{ namespace }}/{{ image_prefix }}nova-base:{{ tag }} MAINTAINER {{ maintainer }} +{% import "macros.j2" as macros with context %} + {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} -RUN yum -y install \ - openstack-nova-conductor \ - && yum clean all + {% set nova_conductor_packages = [ + 'openstack-nova-conductor' + ] %} {% elif base_distro in ['ubuntu'] %} -RUN apt-get -y install --no-install-recommends \ - nova-conductor \ - && apt-get clean + {% set nova_conductor_packages = [ + 'nova-conductor' + ] %} {% endif %} + +{{ macros.install_packages(nova_conductor_packages | customizable("packages")) }} + {% endif %} +{% block nova_conductor_footer %}{% endblock %} +{% block footer %}{% endblock %} {{ include_footer }} USER nova |
