Fix launch vm failed in neutron-linuxbridge-agent env

Fix following two issues

* neutron-linuxbridge-agent container lacks bridge-utils package
* neutron-dhcp-agent container lacks dnsmasq-utils

Co-Authored-By: Manjeet Singh Bhatia <manjeet.s.bhatia@intel.com>
Closes-Bug: #1567406
Change-Id: I93a445b06612671f0331cd94573da41d2d3b60a0
This commit is contained in:
Jeffrey Zhang 2016-04-08 23:45:50 +08:00 committed by Steven Dake
parent ad1461f46d
commit eec09486a3
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 %}