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

Merge "Drop root for designate"

parents e21c39b0 c6913341
No related branches found
No related tags found
No related merge requests found
......@@ -14,4 +14,6 @@ RUN yum install -y \
COPY extend_start.sh /usr/local/bin/kolla_extend_start
RUN chmod 755 /usr/local/bin/kolla_extend_start
USER designate
{{ include_footer }}
......@@ -3,6 +3,6 @@
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
sudo -H -u designate designate-manage db_sync
designate-manage db_sync
exit 0
fi
......@@ -12,4 +12,6 @@ RUN yum install -y bind \
{% endif %}
{% endif %}
USER designate
{{ include_footer }}
......@@ -29,3 +29,5 @@ RUN ln -s designate-base-source/* designate \
&& chown -R designate: /etc/designate /var/log/designate /home/designate
{% endif %}
RUN usermod -a -G kolla designate
......@@ -10,4 +10,6 @@ RUN yum install -y openstack-designate-central \
{% endif %}
{% endif %}
USER designate
{{ include_footer }}
......@@ -10,4 +10,6 @@ RUN yum install -y openstack-designate-mdns \
{% endif %}
{% endif %}
USER designate
{{ include_footer }}
......@@ -13,4 +13,6 @@ RUN yum install -y \
{% endif %}
{% endif %}
USER designate
{{ include_footer }}
......@@ -12,4 +12,6 @@ RUN yum install -y \
{% endif %}
{% endif %}
USER designate
{{ include_footer }}
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