From c658aaed7ae0095a0536003c8a5606aa0344566d Mon Sep 17 00:00:00 2001 From: Anne Gentle Date: Fri, 23 Jan 2015 21:05:37 -0600 Subject: [PATCH] Adds escape characters around default openrc env variables Allows for copy-paste Change-Id: I75bb1d75426908a5a7b4c328f85c8aafb657f308 Closes-bug: 1411258 --- api-quick-start/src/docbkx/api-quick-start-intro.xml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api-quick-start/src/docbkx/api-quick-start-intro.xml b/api-quick-start/src/docbkx/api-quick-start-intro.xml index 5bfc1e886..e38c476f1 100644 --- a/api-quick-start/src/docbkx/api-quick-start-intro.xml +++ b/api-quick-start/src/docbkx/api-quick-start-intro.xml @@ -120,8 +120,8 @@ command to request a token: $ 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 If the request succeeds, you receive a 200 OK response followed by a response body @@ -139,7 +139,7 @@ $ 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