Merge "Adds escape characters around default openrc env variables"

This commit is contained in:
Jenkins 2015-01-27 19:25:10 +00:00 committed by Gerrit Code Review
commit 4dd3f1873a

View File

@ -120,8 +120,8 @@
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 \
-H "Content-Type: application/json" \
-d '{"auth": {"tenantName": "$OS_TENANT_NAME", "passwordCredentials":
{"username": "$OS_USERNAME", "password": "$OS_PASSWORD"}}}' \
-d '{"auth": {"tenantName": "'"$OS_TENANT_NAME"'", "passwordCredentials":
{"username": "'"$OS_USERNAME"'", "password": "'"$OS_PASSWORD"'"}}}' \
| python -m json.tool</userinput></screen>
<para>If the request succeeds, you receive a <returnvalue>200
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 \
-H "Content-Type: application/json" \
-d '{"auth": {"tenantName": "", "passwordCredentials":
{"username": "$OS_USERNAME", "password": "$OS_PASSWORD"}}}' \
{"username": "'"$OS_USERNAME"'", "password": "'"$OS_PASSWORD"'"}}}' \
| python -m json.tool</userinput></screen>
</note>
</section>