Merge "Fix launch vm failed in neutron-linuxbridge-agent env"

This commit is contained in:
Jenkins 2016-04-13 04:34:03 +00:00 committed by Gerrit Code Review
commit 3e1acf005e
2 changed files with 11 additions and 1 deletions

View File

@ -27,6 +27,7 @@ RUN apt-get install -y --no-install-recommends \
RUN yum -y install \
conntrack-tools \
dnsmasq \
dnsmasq-utils \
ipset \
openvswitch \
uuid \
@ -38,6 +39,7 @@ RUN apt-get install -y --no-install-recommends \
arping \
conntrack \
dnsmasq \
dnsmasq-utils \
ipset \
iptables \
openvswitch-switch \

View File

@ -22,9 +22,17 @@ RUN apt-get install -y --no-install-recommends \
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
# Install required packages
RUN yum install -y ebtables \
RUN yum install -y \
ebtables \
bridge-utils \
&& yum clean all
{% elif base_distro in ['ubuntu'] %}
RUN apt-get install -y \
ebtables \
bridge-utils \
&& apt-get clean
{% endif %}
{% endif %}