FROM {{ namespace }}/{{ image_prefix }}ironic-base:{{ tag }} MAINTAINER {{ maintainer }} {% block ironic_conductor_header %}{% endblock %} {% import "macros.j2" as macros with context %} {% if install_type == 'binary' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% set ironic_conductor_packages = [ 'util-linux', 'openstack-ironic-conductor', 'qemu-img', 'ipmitool', 'parted', 'gdisk', 'psmisc' ] %} {% elif base_distro in ['ubuntu'] %} {% set ironic_conductor_packages = [ 'bsdmainutils', 'ironic-conductor', 'qemu-utils', 'ipmitool', 'gdisk', 'psmisc', 'parted' ] %} {% endif %} {% elif install_type == 'source' %} {% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %} {% set ironic_conductor_packages = [ 'util-linux', 'qemu-img', 'ipmitool', 'parted', 'gdisk', 'psmisc', 'fuse' ] %} {% elif base_distro in ['ubuntu', 'debian'] %} {% set ironic_conductor_packages = [ 'bsdmainutils', 'qemu-utils', 'ipmitool', 'gdisk', 'psmisc', 'parted' ] %} {% endif %} {% endif %} {{ macros.install_packages(ironic_conductor_packages | customizable("packages")) }} {% block ironic_conductor_footer %}{% endblock %} {% block footer %}{% endblock %} {{ include_footer }} USER ironic