Adds escape characters around default openrc env variables
Allows for copy-paste Change-Id: I75bb1d75426908a5a7b4c328f85c8aafb657f308 Closes-bug: 1411258
This commit is contained in:
parent
445562ae86
commit
c658aaed7a
@ -120,8 +120,8 @@
|
|||||||
command to request a token:</para>
|
command to request a token:</para>
|
||||||
<screen><?db-font-size 70%?><prompt>$</prompt> <userinput>curl -s -X POST http://8.21.28.222:5000/v2.0/tokens \
|
<screen><?db-font-size 70%?><prompt>$</prompt> <userinput>curl -s -X POST http://8.21.28.222:5000/v2.0/tokens \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"auth": {"tenantName": "$OS_TENANT_NAME", "passwordCredentials":
|
-d '{"auth": {"tenantName": "'"$OS_TENANT_NAME"'", "passwordCredentials":
|
||||||
{"username": "$OS_USERNAME", "password": "$OS_PASSWORD"}}}' \
|
{"username": "'"$OS_USERNAME"'", "password": "'"$OS_PASSWORD"'"}}}' \
|
||||||
| python -m json.tool</userinput></screen>
|
| python -m json.tool</userinput></screen>
|
||||||
<para>If the request succeeds, you receive a <returnvalue>200
|
<para>If the request succeeds, you receive a <returnvalue>200
|
||||||
OK</returnvalue> response followed by a response body
|
OK</returnvalue> response followed by a response body
|
||||||
@ -139,7 +139,7 @@
|
|||||||
<screen><?db-font-size 70%?><prompt>$</prompt> <userinput>curl -s -X POST http://8.21.28.222:5000/v2.0/tokens \
|
<screen><?db-font-size 70%?><prompt>$</prompt> <userinput>curl -s -X POST http://8.21.28.222:5000/v2.0/tokens \
|
||||||
-H "Content-Type: application/json" \
|
-H "Content-Type: application/json" \
|
||||||
-d '{"auth": {"tenantName": "", "passwordCredentials":
|
-d '{"auth": {"tenantName": "", "passwordCredentials":
|
||||||
{"username": "$OS_USERNAME", "password": "$OS_PASSWORD"}}}' \
|
{"username": "'"$OS_USERNAME"'", "password": "'"$OS_PASSWORD"'"}}}' \
|
||||||
| python -m json.tool</userinput></screen>
|
| python -m json.tool</userinput></screen>
|
||||||
</note>
|
</note>
|
||||||
</section>
|
</section>
|
||||||
|
Loading…
Reference in New Issue
Block a user