ironic-conductor: install ipmitool for source deploy in centos

Change-Id: Ib6b095341c8d63b365d3575478b4dafa69720b63
Closes-Bug: #1534900
This commit is contained in:
Wanlong Gao 2016-01-16 16:05:57 +08:00
parent a755aa88e4
commit e25c12fee6

View File

@ -9,6 +9,12 @@ RUN yum -y install openstack-ironic-conductor \
{% endif %} {% endif %}
{% elif install_type == 'source' %} {% elif install_type == 'source' %}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install ipmitool \
&& yum clean all
{% endif %}
{% if base_distro in ['ubuntu', 'debian'] %} {% if base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \ RUN apt-get install -y --no-install-recommends \