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:
parent
ad1461f46d
commit
eec09486a3
@ -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 \
|
||||
|
@ -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 %}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user