aboutsummaryrefslogtreecommitdiff
path: root/docker/keystone
diff options
context:
space:
mode:
authorJenkins <jenkins@review.openstack.org>2015-10-14 01:42:03 +0000
committerGerrit Code Review <review@openstack.org>2015-10-14 01:42:03 +0000
commit5fe0e6768564b1ac132f4e77a8e22a76a08e60d9 (patch)
treeec79c654d7356dfd0e82e4d428b70d5cbe44a5a5 /docker/keystone
parent486b8b4884150a8ba09465a9a1b8951741feb30d (diff)
parent5f200e044648efe64f297d186432839762f91395 (diff)
downloadkolla-5fe0e6768564b1ac132f4e77a8e22a76a08e60d9.tar.gz
kolla-5fe0e6768564b1ac132f4e77a8e22a76a08e60d9.zip
Merge "Fix issue with su and bad kernels"
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