59a1c8b9fb
Added new option in kolla-build.conf Change-Id: I45fe51966bcb59ea19d112281ba3d5a1ba091a56 Closes-Bug:#1514304
25 lines
589 B
Django/Jinja
25 lines
589 B
Django/Jinja
FROM {{ namespace }}/{{ image_prefix }}neutron-base:{{ tag }}
|
|
MAINTAINER {{ maintainer }}
|
|
|
|
{% if install_type == 'binary' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
# Install required packages
|
|
RUN yum install -y \
|
|
openstack-neutron-openvswitch \
|
|
openvswitch \
|
|
&& yum clean all
|
|
|
|
{% endif %}
|
|
{% elif install_type == 'source' %}
|
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
|
|
|
# Install required packages
|
|
RUN yum install -y openvswitch \
|
|
&& yum clean all
|
|
|
|
{% endif %}
|
|
{% endif %}
|
|
|
|
{{ include_footer }}
|