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 <obed.n.munoz@intel.com>
This commit is contained in:
Munoz, Obed N
2016-11-11 11:53:08 -06:00
parent f1c2f4346b
commit b7b4538be7
+5
View File
@@ -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/*