Add ceilometer agent ipmi docker file
Change-Id: Id46e36b2bb57e03ce477254e7a853836a278a8c0
This commit is contained in:
parent
9751b32a7b
commit
cd04dc84d0
22
docker/ceilometer/ceilometer-ipmi/Dockerfile.j2
Normal file
22
docker/ceilometer/ceilometer-ipmi/Dockerfile.j2
Normal file
@ -0,0 +1,22 @@
|
||||
FROM {{ namespace }}/{{ image_prefix }}ceilometer-base:{{ tag }}
|
||||
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
|
||||
|
||||
{% block ceilometer_ipmi_header %}{% endblock %}
|
||||
|
||||
{% import "macros.j2" as macros with context %}
|
||||
|
||||
{% if install_type == 'binary' %}
|
||||
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
|
||||
{% set ceilometer_ipmi_packages = ['openstack-ceilometer-ipmi'] %}
|
||||
{% elif base_distro in ['debian', 'ubuntu'] %}
|
||||
{% set ceilometer_ipmi_packages = ['ceilometer-agent-ipmi'] %}
|
||||
{% endif %}
|
||||
|
||||
{{ macros.install_packages(ceilometer_ipmi_packages | customizable("packages")) }}
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% block ceilometer_ipmi_footer %}{% endblock %}
|
||||
{% block footer %}{% endblock %}
|
||||
|
||||
USER ceilometer
|
@ -0,0 +1,3 @@
|
||||
---
|
||||
features:
|
||||
- Add ceilometer agent ipmi service image
|
Loading…
Reference in New Issue
Block a user