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

Merge "Fix cinder volume permission issue"

parents 3f28c5c1 cf1dc75f
No related branches found
No related tags found
No related merge requests found
...@@ -43,11 +43,11 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf ...@@ -43,11 +43,11 @@ RUN sed -i '1 i include /var/lib/cinder/volumes/*' /etc/tgt/targets.conf
{% endif %} {% endif %}
{% 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 COPY extend_start.sh /usr/local/bin/kolla_cinder_extend_start
RUN chmod 750 /etc/sudoers.d \ 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 && chmod 755 /usr/local/bin/kolla_cinder_extend_start
{% block cinder_volume_footer %}{% endblock %} {% block cinder_volume_footer %}{% endblock %}
......
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