Merge "Add Cinder-Volume Package for Ubuntu binary install"
This commit is contained in:
commit
29c7ef295c
@ -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
|
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 %}
|
{% endif %}
|
||||||
|
|
||||||
COPY cinder_sudoers /etc/sudoers.d/cinder_sudoers
|
COPY cinder_sudoers /etc/sudoers.d/cinder_sudoers
|
||||||
|
Loading…
Reference in New Issue
Block a user