diff --git a/docker/collectd/Dockerfile.j2 b/docker/collectd/Dockerfile.j2 index 40ac8ef898..b2856fc7ef 100644 --- a/docker/collectd/Dockerfile.j2 +++ b/docker/collectd/Dockerfile.j2 @@ -10,6 +10,13 @@ LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build {% set collectd_packages = [ 'collectd' ] %} + +{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %} + {% set collectd_packages = collectd_packages + [ + 'collectd-disk' + ] %} + +{% endif %} {{ macros.install_packages(collectd_packages | customizable("packages")) }} COPY extend_start.sh /usr/local/bin/kolla_extend_start