Bash for environment variables in API Quick Start
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
openstack-api-site |
Fix Released
|
High
|
Anne Gentle |
Bug Description
Bash will not substitute environments in the Authenticate example:
curl -s -X POST http://
{"username": "$OS_USERNAME", "password": "$OS_PASSWORD"}}}' | python -m json.tool
It should be like this (please note quotes around variables $OS_TENANT_NAME $OS_USERNAME $OS_PASSWORD):
curl -s -X POST http://
{"username": "'"$OS_USERNAME"'", "password": "'"$OS_
Could somebody please fix example in the document?
Changed in openstack-manuals: | |
importance: | Undecided → High |
Changed in openstack-api-site: | |
status: | New → Confirmed |
importance: | Undecided → High |
no longer affects: | openstack-manuals |
Changed in openstack-api-site: | |
assignee: | nobody → Anne Gentle (annegentle) |
Changed in openstack-api-site: | |
milestone: | none → kilo |
Fix proposed to branch: master /review. openstack. org/149806
Review: https:/