Merge "Drop root for Magnum"
This commit is contained in:
commit
3e97fdf4d8
@ -14,3 +14,5 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start
|
|||||||
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
RUN chmod 755 /usr/local/bin/kolla_extend_start
|
||||||
|
|
||||||
{{ include_footer }}
|
{{ include_footer }}
|
||||||
|
|
||||||
|
USER magnum
|
||||||
|
@ -3,6 +3,6 @@
|
|||||||
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
|
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
|
||||||
# of the KOLLA_BOOTSTRAP variable being set, including empty.
|
# of the KOLLA_BOOTSTRAP variable being set, including empty.
|
||||||
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
|
||||||
sudo -H -u magnum magnum-db-manage upgrade
|
magnum-db-manage upgrade
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
@ -16,3 +16,5 @@ RUN cd /tmp && curl -L https://github.com/GoogleCloudPlatform/kubernetes/release
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{{ include_footer }}
|
{{ include_footer }}
|
||||||
|
|
||||||
|
USER magnum
|
||||||
|
Loading…
Reference in New Issue
Block a user