1e40420277
In the mitaka cycle, the Ubuntu neutron plugin packages were renamed, and transitional packages were created. Use the real name of the linuxbridge plugin package to reflect reality. Change-Id: I12e1ee45b7a9cfee0d42ba66a34d2e5f4267ca2e Signed-off-by: Chuck Short <charles.short@ericsson.com>
40 lines
1.0 KiB
Django/Jinja
40 lines
1.0 KiB
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
|
|
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
|
|
|
{% block neutron_linuxbridge_agent_header %}{% endblock %}
|
|
|
|
{% import "macros.j2" as macros with context %}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
|
|
|
{% set neutron_linuxbridge_agent_packages = [
|
|
'ebtables',
|
|
'openstack-neutron-linuxbridge'
|
|
] %}
|
|
|
|
{% elif base_distro in ['debian', 'ubuntu'] %}
|
|
|
|
{% set neutron_linuxbridge_agent_packages = [
|
|
'ebtables',
|
|
'neutron-linuxbridge-agent'
|
|
] %}
|
|
|
|
{% endif %}
|
|
|
|
{% elif install_type == 'source' %}
|
|
|
|
{% set neutron_linuxbridge_agent_packages = [
|
|
'bridge-utils',
|
|
'ebtables'
|
|
] %}
|
|
|
|
{% endif %}
|
|
|
|
{{ macros.install_packages(neutron_linuxbridge_agent_packages | customizable("packages")) }}
|
|
|
|
{% block neutron_linuxbridge_agent_footer %}{% endblock %}
|
|
{% block footer %}{% endblock %}
|
|
|
|
USER neutron
|