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-consoleauth | |
| 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-consoleauth')
| -rw-r--r-- | docker/nova/nova-consoleauth/Dockerfile.j2 | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/docker/nova/nova-consoleauth/Dockerfile.j2 b/docker/nova/nova-consoleauth/Dockerfile.j2 index c2c04783b..9b2205c8e 100644 --- a/docker/nova/nova-consoleauth/Dockerfile.j2 +++ b/docker/nova/nova-consoleauth/Dockerfile.j2 @@ -1,23 +1,30 @@ 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-console \ - && yum clean all + {% set nova_consoleauth_packages = [ + 'openstack-nova-console' + ] %} {% elif base_distro in ['ubuntu'] %} -RUN apt-get -y install --no-install-recommends \ - nova-consoleauth \ - python-memcache \ - && apt-get clean + {% set nova_consoleauth_packages = [ + 'nova-consoleauth', + 'python-memcache' + ] %} {% endif %} + +{{ macros.install_packages(nova_consoleauth_packages | customizable("packages")) }} + {% endif %} +{% block nova_consoleauth_footer %}{% endblock %} +{% block footer %}{% endblock %} {{ include_footer }} USER nova |
