9688f95f58
Change-Id: I5dbb030943abfa7eccc424859b694a508358c123 Partially-implements: blueprint third-party-plugin-support Co-Authored-By: Michal (inc0) Jastrzebski <inc007@gmail.com> Co-Authored-By: Paul Bourke <paul.bourke@oracle.com>
30 lines
656 B
Django/Jinja
30 lines
656 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['ubuntu', 'debian'] %}
|
|
|
|
{% set neutron_l3_agent_packages = [
|
|
'neutron-l3-agent'
|
|
] %}
|
|
|
|
{% endif %}
|
|
|
|
{% elif install_type == 'source' %}
|
|
|
|
{% set neutron_l3_agent_packages = [
|
|
'keepalived'
|
|
] %}
|
|
|
|
{% endif %}
|
|
|
|
{{ macros.install_packages(neutron_l3_agent_packages | customizable("packages")) }}
|
|
|
|
{% block neutron_l3_agent_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
{{ include_footer }}
|
|
|
|
USER neutron
|