Merge "Fix cinder volume permission issue"
This commit is contained in:
commit
f25f1b7b6d
@ -43,11 +43,11 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
|
||||
COPY cinder_sudoers /etc/sudoers.d/cinder_sudoers
|
||||
COPY cinder_sudoers /etc/sudoers.d/kolla_cinder_volume_sudoers
|
||||
COPY extend_start.sh /usr/local/bin/kolla_cinder_extend_start
|
||||
|
||||
RUN chmod 750 /etc/sudoers.d \
|
||||
&& chmod 440 /etc/sudoers.d/cinder_sudoers \
|
||||
&& chmod 440 /etc/sudoers.d/kolla_cinder_volume_sudoers \
|
||||
&& chmod 755 /usr/local/bin/kolla_cinder_extend_start
|
||||
|
||||
{% block cinder_volume_footer %}{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user