From e25c12fee6ea91c4aa3941988eedc707032d1d3a Mon Sep 17 00:00:00 2001 From: Wanlong Gao Date: Sat, 16 Jan 2016 16:05:57 +0800 Subject: [PATCH] ironic-conductor: install ipmitool for source deploy in centos Change-Id: Ib6b095341c8d63b365d3575478b4dafa69720b63 Closes-Bug: #1534900 --- docker/ironic/ironic-conductor/Dockerfile.j2 | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docker/ironic/ironic-conductor/Dockerfile.j2 b/docker/ironic/ironic-conductor/Dockerfile.j2 index f6ef39b1e4..4372ff6efc 100644 --- a/docker/ironic/ironic-conductor/Dockerfile.j2 +++ b/docker/ironic/ironic-conductor/Dockerfile.j2 @@ -9,6 +9,12 @@ RUN yum -y install openstack-ironic-conductor \ {% endif %} {% 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'] %} RUN apt-get install -y --no-install-recommends \