diff options
Diffstat (limited to 'docker')
| -rw-r--r-- | docker/zaqar/Dockerfile.j2 | 2 | ||||
| -rw-r--r-- | docker/zaqar/extend_start.sh | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/docker/zaqar/Dockerfile.j2 b/docker/zaqar/Dockerfile.j2 index 9a5346c97..104a6f212 100644 --- a/docker/zaqar/Dockerfile.j2 +++ b/docker/zaqar/Dockerfile.j2 @@ -24,3 +24,5 @@ COPY extend_start.sh /usr/local/bin/kolla_extend_start RUN chmod 755 /usr/local/bin/kolla_extend_start {{ include_footer }} + +USER zaqar diff --git a/docker/zaqar/extend_start.sh b/docker/zaqar/extend_start.sh index ec128144a..5498227b6 100644 --- a/docker/zaqar/extend_start.sh +++ b/docker/zaqar/extend_start.sh @@ -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 zaqar zaqar-manage db_sync + zaqar zaqar-manage db_sync exit 0 fi |
