summaryrefslogtreecommitdiffstats
path: root/tools/keystone/endpoint.sh
diff options
context:
space:
mode:
authorDimitri Mazmanov <dimitri.mazmanov@ericsson.com>2017-01-31 14:20:37 +0100
committerDimitri Mazmanov <dimitri.mazmanov@ericsson.com>2017-01-31 14:23:26 +0100
commit80b2b33036e3afe41ad0573f9ca7cf6af38cf767 (patch)
treeab84ef09d43540bef0e1e2c690865450849d7d9b /tools/keystone/endpoint.sh
parent6a84ad07b60933a02066bde3115c53e592309bef (diff)
extract filename
Change-Id: I1393da09fef7ac3650a74c95483736b2c5aaff65 Signed-off-by: Dimitri Mazmanov <dimitri.mazmanov@ericsson.com>
Diffstat (limited to 'tools/keystone/endpoint.sh')
-rwxr-xr-xtools/keystone/endpoint.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/keystone/endpoint.sh b/tools/keystone/endpoint.sh
index aae851d..dd2aeae 100755
--- a/tools/keystone/endpoint.sh
+++ b/tools/keystone/endpoint.sh
@@ -24,7 +24,7 @@ ENDPOINT_PUBLIC_URL=$(openstack endpoint list | grep keystone | grep public | cu
ENDPOINT_ADMIN_URL=$(openstack endpoint list | grep keystone | grep admin | cut -d '|' -f 8 | cut -d '/' -f 3 | cut -d ':' -f 1)
ENDPOINT_INTERNAL_URL=$(openstack endpoint list | grep keystone | grep internal | cut -d '|' -f 8 | cut -d '/' -f 3 | cut -d ':' -f 1)
-cat <<EOT >> ${ENDPOINT_FILE}
+cat > ${ENDPOINT_FILE} <<EOT
[DEFAULT]
public_url=${ENDPOINT_PUBLIC_URL}
admin_url=${ENDPOINT_ADMIN_URL}