Libvirt needs openvswitch to connect br-int
Libvirt is trying to create a port on br-int and is failing because ovs is not installed. Co-authored-by: Ian Main <imain@redhat.com> Closes-bug: 1552717 Change-Id: I6ed0c1ae5b27b58e4c22bcbe7e674f66cde48990
This commit is contained in:
parent
0f5c22c169
commit
930737efae
@ -9,6 +9,7 @@ RUN yum -y install \
|
|||||||
python-keystoneclient \
|
python-keystoneclient \
|
||||||
python-cinderclient \
|
python-cinderclient \
|
||||||
bridge-utils \
|
bridge-utils \
|
||||||
|
openvswitch \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu'] %}
|
{% elif base_distro in ['ubuntu'] %}
|
||||||
@ -17,6 +18,7 @@ RUN apt-get install -y --no-install-recommends \
|
|||||||
nova-common \
|
nova-common \
|
||||||
python-nova \
|
python-nova \
|
||||||
bridge-utils \
|
bridge-utils \
|
||||||
|
openvswitch-switch \
|
||||||
&& apt-get clean
|
&& apt-get clean
|
||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
@ -24,6 +26,7 @@ RUN apt-get install -y --no-install-recommends \
|
|||||||
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
|
||||||
|
|
||||||
RUN yum -y install bridge-utils \
|
RUN yum -y install bridge-utils \
|
||||||
|
openvswitch \
|
||||||
&& yum clean all
|
&& yum clean all
|
||||||
|
|
||||||
{% elif base_distro in ['ubuntu', 'debian'] %}
|
{% elif base_distro in ['ubuntu', 'debian'] %}
|
||||||
|
Loading…
Reference in New Issue
Block a user