Skip to content
Snippets Groups Projects
Commit 989e9da6 authored by Jenkins's avatar Jenkins Committed by Gerrit Code Review
Browse files

Merge "Allow cinder-volume to be configured to use nfs on Centos"

parents bb48523f eab0f130
No related branches found
No related tags found
No related merge requests found
FROM {{ namespace }}/{{ image_prefix }}cinder-base:{{ tag }}
MAINTAINER {{ maintainer }}
{% if base_distro in ['centos', 'fedora', 'oraclelinux', 'rhel'] %}
RUN yum -y install \
nfs-utils \
nfs-utils-lib \
&& yum clean all
{% elif base_distro in ['ubuntu', 'debian'] %}
RUN apt-get install -y --no-install-recommends \
rpcbind \
&& apt-get clean
{% endif %}
{{ include_footer }}
USER cinder
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment