Replace the_service_id_above with shell script

To create an endpoint, user should copy the command to text editor,
then copy the service id and replace the literal named
the_service_id_above with the real id, then copy the whole command to
shell and execute it.

It is not so convenient, so I add a short shell script to reduce this
labor work.

Change-Id: I4992b76e574536224896562b3599e514881c9f76
Closes-Bug: #1271637
This commit is contained in:
ZhiQiang Fan
2014-01-23 01:20:47 +08:00
committed by ZhiQiang Fan
parent 9a330eb0c2
commit 4b4a101774
8 changed files with 27 additions and 55 deletions

View File

@@ -42,7 +42,7 @@
<literal>controller</literal> host name is used. Note that the
Identity Service uses a different port for the admin API.</para>
<screen><prompt>#</prompt> <userinput>keystone endpoint-create \
--service-id=<replaceable>the_service_id_above</replaceable> \
--service-id=$(keystone service-list | awk '/ identity / {print $2}') \
--publicurl=http://<replaceable>controller</replaceable>:5000/v2.0 \
--internalurl=http://<replaceable>controller</replaceable>:5000/v2.0 \
--adminurl=http://<replaceable>controller</replaceable>:35357/v2.0</userinput>