Install openvswitch-switch in manila
Change-Id: I8277ad668f46d327807a01ceb96c2abb417f0e3d Closes-Bug:#1556271
This commit is contained in:
parent
d484f40fc8
commit
a9edc7e0a0
@ -4,11 +4,32 @@ MAINTAINER {{ maintainer }}
|
|||||||
{% if install_type == 'binary' %}
|
{% if install_type == 'binary' %}
|
||||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
|
|
||||||
RUN yum -y install openstack-manila \
|
RUN yum -y install \
|
||||||
|
openstack-manila \
|
||||||
|
openvswitch \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
openvswitch-switch \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% elif install_type == 'source' %}
|
||||||
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
|
|
||||||
|
RUN yum -y install \
|
||||||
|
openvswitch \
|
||||||
|
&& yum clean all
|
||||||
|
|
||||||
|
{% elif base_distro in ['ubuntu', 'debian'] %}
|
||||||
|
|
||||||
|
RUN apt-get install -y --no-install-recommends \
|
||||||
|
openvswitch-switch \
|
||||||
|
&& apt-get clean
|
||||||
|
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
ADD manila-base-archive /manila-base-source
|
ADD manila-base-archive /manila-base-source
|
||||||
RUN ln -s manila-base-source/* manila \
|
RUN ln -s manila-base-source/* manila \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user