summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-devtools/python/python-keystone/admin-openrc
diff options
context:
space:
mode:
authorMark Asselstine <mark.asselstine@windriver.com>2017-12-01 15:13:33 -0500
committerBruce Ashfield <bruce.ashfield@windriver.com>2017-12-01 21:46:36 -0500
commitf793205c73a006734b84c708f49049a1067f6b6a (patch)
treed351449740107908abc11ae6c563989fb7ec868f /meta-openstack/recipes-devtools/python/python-keystone/admin-openrc
parentee1c631b92752742d89b311f4774d7017a946d54 (diff)
downloadmeta-cloud-services-f793205c73a006734b84c708f49049a1067f6b6a.tar.gz
python-keystone: generate admin-openrc
In order to interact with the openstack CLI commands it is common practice to source *openrc files which populate the environment with a base set of values. See https://docs.openstack.org/keystone/pike/install/keystone-openrc-obs.html We used to do this as part of nova but it makes more sense to create these as part of keystone. This makes them available early in the setup process and also maps with the keystone bootstrapping. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
Diffstat (limited to 'meta-openstack/recipes-devtools/python/python-keystone/admin-openrc')
-rw-r--r--meta-openstack/recipes-devtools/python/python-keystone/admin-openrc12
1 files changed, 12 insertions, 0 deletions
diff --git a/meta-openstack/recipes-devtools/python/python-keystone/admin-openrc b/meta-openstack/recipes-devtools/python/python-keystone/admin-openrc
new file mode 100644
index 0000000..4b459d7
--- /dev/null
+++ b/meta-openstack/recipes-devtools/python/python-keystone/admin-openrc
@@ -0,0 +1,12 @@
1#
2# Matches bootstrap data in keystone-init
3#
4export OS_PROJECT_DOMAIN_NAME=Default
5export OS_USER_DOMAIN_NAME=Default
6export OS_PROJECT_NAME=admin
7export OS_USERNAME=%ADMIN_USER%
8export OS_PASSWORD=%ADMIN_PASSWORD%
9export OS_AUTH_URL=http://%CONTROLLER_IP%:35357/v3
10export OS_IDENTITY_API_VERSION=3
11export OS_IMAGE_API_VERSION=2
12export OS_REGION_NAME=RegionOne