Skip to content
Snippets Groups Projects
Commit 2dead815 authored by Steven Dake's avatar Steven Dake
Browse files

Install agent dependencies from source for CentOS

Several packages are not installed from RPM packages which are
required in order for CentOS from source to operate correctly.

This looked like sudo was failing to execute, but it was because
the dnsmasq binary was not found.

backport: liberty

Change-Id: If23cfbacd55d9089ffec442399ee0151adea923f
Closes-Bug: #1503412
parent fbb1842f
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,16 @@ RUN pip install oslo.versionedobjects
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['ubuntu', 'debian'] %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
uuid \
dnsmasq \
ipset \
openvswitch \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
iptables \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment