Giulio Fidente 8f5fc7c4ea Add ceph-common to manila_share image
Manila supports Ceph as backend in which case the manila_share
image should bundle ceph-common

Change-Id: Ie0af337b195636bd6e6be93706a7e293c3ab6055
2017-06-30 15:35:36 +02:00

25 lines
666 B
Django/Jinja

FROM {{ namespace }}/{{ image_prefix }}manila-base:{{ tag }}
LABEL maintainer="{{ maintainer }}" name="{{ image_name }}" build-date="{{ build_date }}"
{% block manila_share_header %}{% endblock %}
{% import "macros.j2" as macros with context %}
{% if install_type == 'binary' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set manila_share_packages = [
'openstack-manila-share',
'ceph-common'
] %}
{{ macros.install_packages(manila_share_packages | customizable("packages")) }}
{% endif %}
{% endif %}
{% block manila_share_footer %}{% endblock %}
{% block footer %}{% endblock %}
USER manila