Merge "Fix cinder volume permission issue"

changes/61/393861/1
Jenkins 6 years ago committed by Gerrit Code Review
commit f25f1b7b6d
  1. 4
      docker/cinder/cinder-volume/Dockerfile.j2

@ -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…
Cancel
Save