[firstapp] Added link to README.rst
Change-Id: I64da7bd6443b96d1d0549f7ab000607f2681d88e Closes-Bug: #1538326
This commit is contained in:
parent
ddbc019403
commit
fd9425e03f
7
firstapp/samples/shade/shade.yml
Normal file
7
firstapp/samples/shade/shade.yml
Normal file
@ -0,0 +1,7 @@
|
||||
my-provider:
|
||||
profile: $PROVIDER_NAME
|
||||
auth:
|
||||
username: $YOUR_USERNAME
|
||||
password: $YOUR_PASSWORD
|
||||
project_name: $YOUR_PROJECT
|
||||
region_name: $REGION
|
@ -305,6 +305,16 @@ to run code snippets in your language of choice.
|
||||
you can avoid specifying :code:`auth_url:` and instead specify
|
||||
:code:`profile: $PROVIDER_NAME` in the clouds.yml file.
|
||||
|
||||
To configure shade using a profile, use your credentials above to specify the cloud provider
|
||||
name, username, password, project name, and region name in the file
|
||||
:file:`~/.config/openstack/clouds.yml`.
|
||||
|
||||
.. literalinclude:: ../samples/shade/shade.yml
|
||||
:language: yaml
|
||||
|
||||
See `configure shade <http://git.openstack.org/cgit/openstack/os-client-config/tree/README.rst>`_,
|
||||
to configure your cloud using a profile.
|
||||
|
||||
.. literalinclude:: ../samples/shade/getting_started.py
|
||||
:start-after: step-1
|
||||
:end-before: step-2
|
||||
|
Loading…
Reference in New Issue
Block a user