summaryrefslogtreecommitdiffstats
path: root/tools/keystone/region.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/keystone/region.sh')
-rwxr-xr-xtools/keystone/region.sh5
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/keystone/region.sh b/tools/keystone/region.sh
index c42401d..25ee026 100755
--- a/tools/keystone/region.sh
+++ b/tools/keystone/region.sh
@@ -27,9 +27,8 @@ source openrc
#
# openstack endpoint create --publicurl "" --adminurl "" --internalurl "" --region ${region} <service>
-# if running as part of Jenkins job, read the file from WORKSPACE
-WORKSPACE=${WORKSPACE:-/root}
-ENDPOINT_FILE="${WORKSPACE}/endpoints.ini"
+# Always executed on controller
+ENDPOINT_FILE="/root/endpoints.ini"
# Get an option from an INI file
# iniget config-file section option