aboutsummaryrefslogtreecommitdiff
path: root/docker/keystone
diff options
context:
space:
mode:
Diffstat (limited to 'docker/keystone')
-rw-r--r--docker/keystone/extend_start.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/docker/keystone/extend_start.sh b/docker/keystone/extend_start.sh
index 9bd9d5370..b1a6d334b 100644
--- a/docker/keystone/extend_start.sh
+++ b/docker/keystone/extend_start.sh
@@ -9,7 +9,7 @@ fi
# 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
- su -s /bin/sh -c "keystone-manage db_sync" keystone
+ sudo -H -u keystone keystone-manage db_sync
# Start the api to set initial endpoint and users with the admin_token
$CMD
sleep 5