From b7b4538be74b52c6594e736e682c9c134b991b04 Mon Sep 17 00:00:00 2001 From: "Munoz, Obed N" Date: Fri, 11 Nov 2016 11:53:08 -0600 Subject: [PATCH] keystone: Add post-keystone.sh script support This post-keystone.sh script will be mounted at /usr/bin/post-script.sh It will help to do execute tasks after keystone service is up. For example: endpoints and users creating. Signed-off-by: Munoz, Obed N --- keystone/bootstrap.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/keystone/bootstrap.sh b/keystone/bootstrap.sh index 8a5d283..e6e1707 100755 --- a/keystone/bootstrap.sh +++ b/keystone/bootstrap.sh @@ -47,4 +47,9 @@ if [[ $? == 1 ]]; then openstack role create user fi +# Run post-keystone.sh script, if it exists +if [ -f "/usr/bin/post-keystone.sh" ]; then + /usr/bin/post-keystone.sh +fi + tail -f /var/log/*