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
This commit is contained in:
parent
fbb1842fc8
commit
2dead81564
@ -15,7 +15,16 @@ RUN pip install oslo.versionedobjects
|
|||||||
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% elif install_type == 'source' %}
|
{% 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 \
|
RUN apt-get install -y --no-install-recommends \
|
||||||
iptables \
|
iptables \
|
||||||
|
Loading…
Reference in New Issue
Block a user