Merge "Add Cinder-Volume Package for Ubuntu binary install"

This commit is contained in:
Jenkins 2016-07-18 14:21:33 +00:00 committed by Gerrit Code Review
commit 29c7ef295c

View File

@ -17,6 +17,15 @@ RUN apt-get -y install --no-install-recommends \
RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf
{% endif %}
{% if install_type == 'binary' %}
{% if base_distro in ['ubuntu', 'debian'] %}
RUN apt-get -y install --no-install-recommends \
cinder-volume \
&& apt-get clean
{% endif %}
{% endif %}
COPY cinder_sudoers /etc/sudoers.d/cinder_sudoers