Add nfs package in manila-data dockerfile

Change-Id: I737bfc8cddaf4fa9c848fc6fc5380f78a425cc40
Closes-Bug: #1643877
This commit is contained in:
Mauricio Lima 2016-11-22 09:49:58 -03:00
parent 93f934c1d6
commit 379475585b

View File

@ -17,11 +17,27 @@ RUN echo '{{ install_type }} not yet available for {{ base_distro }}' \
'manila-data'
] %}
{{ macros.install_packages(manila_data_packages | customizable("packages")) }}
{% endif %}
{% elif install_type == 'source' %}
{% if base_distro in ['centos', 'oraclelinux', 'rhel'] %}
{% set manila_data_packages = [
'nfs-utils'
] %}
{% elif base_distro in ['ubuntu', 'debian'] %}
{% set manila_data_packages = [
'nfs-common'
] %}
{% endif %}
{% endif %}
{{ macros.install_packages(manila_data_packages | customizable("packages")) }}
{% block manila_data_footer %}{% endblock %}
{% block footer %}{% endblock %}
{{ include_footer }}