blob: 391008e11f7b40679ce98fa9c8185e31a98208cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
FROM {{ namespace }}/{{ image_prefix }}base:{{ tag }}
MAINTAINER {{ maintainer }}
{% block multipathd_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set multipathd_packages = ['device-mapper-multipath'] %}
{% elif base_distro in ['ubuntu', 'debian'] %}
{% set multipathd_packages = ['multipath-tools'] %}
{% endif %}
{{ macros.install_packages(multipathd_packages | customizable("packages")) }}
{% block multipathd_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}
|