Fix openvswitch template
Change-Id: I8e43285f620df4ea74ee78e637cd3eadc9adf5fd Partially-Implements: blueprint dockerfile-template
This commit is contained in:
parent
9bd3ea7207
commit
ba07ec46bb
@ -1,16 +1,6 @@
|
||||
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
|
||||
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ovs-base:{{ tag }}
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
# TODO (rbergero): When ovs support is added for ubuntu/debian, this
|
||||
# conditional should be removed.
|
||||
|
||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
||||
|
||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||
&& /bin/false
|
||||
|
||||
{% endif %}
|
||||
|
||||
COPY start.sh /
|
||||
COPY config-external.sh /opt/kolla/
|
||||
|
||||
|
@ -1,16 +1,6 @@
|
||||
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-base:{{ tag }}
|
||||
FROM {{ namespace }}/{{ base_distro }}-{{ install_type }}-ovs-base:{{ tag }}
|
||||
MAINTAINER Kolla Project (https://launchpad.net/kolla)
|
||||
|
||||
# TODO (rbergero): When ovs support is added for ubuntu/debian, this
|
||||
# conditional should be removed.
|
||||
|
||||
{% if base_distro in ['ubuntu', 'debian'] %}
|
||||
|
||||
RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
|
||||
&& /bin/false
|
||||
|
||||
{% endif %}
|
||||
|
||||
COPY start.sh /
|
||||
COPY ovs_ensure_configured.sh config-external.sh /opt/kolla/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user