used numbered list for steps
- according to http://docs.openstack.org/contributor-guide/writing-style/lists.html Change-Id: Id59d7c77c8f4668aa5cd72f33afb15e15681b47f
This commit is contained in:
parent
cac6032375
commit
5ed9c64a4b
@ -23,33 +23,33 @@ with the OpenStack services that run in the cloud.
|
|||||||
Download and source the OpenStack RC file
|
Download and source the OpenStack RC file
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
|
|
||||||
Log in to the OpenStack dashboard, choose the project for which you want
|
#. Log in to the OpenStack dashboard, choose the project for which you want
|
||||||
to download the OpenStack RC file, on the :guilabel:`Project` tab, open
|
to download the OpenStack RC file, on the :guilabel:`Project` tab, open
|
||||||
the :guilabel:`Compute` tab and click :guilabel:`Access & Security`.
|
the :guilabel:`Compute` tab and click :guilabel:`Access & Security`.
|
||||||
|
|
||||||
On the :guilabel:`API Access` tab, click :guilabel:`Download OpenStack RC File`
|
#. On the :guilabel:`API Access` tab, click :guilabel:`Download OpenStack
|
||||||
and save the file. The filename will be of the form ``PROJECT-openrc.sh``
|
RC File` and save the file. The filename will be of the form
|
||||||
where ``PROJECT`` is the name of the project for which you downloaded the
|
``PROJECT-openrc.sh`` where ``PROJECT`` is the name of the project for
|
||||||
file.
|
which you downloaded the file.
|
||||||
|
|
||||||
Copy the ``PROJECT-openrc.sh`` file to the computer from which you
|
#. Copy the ``PROJECT-openrc.sh`` file to the computer from which you
|
||||||
want to run OpenStack commands.
|
want to run OpenStack commands.
|
||||||
|
|
||||||
For example, copy the file to the computer from which you want to upload
|
For example, copy the file to the computer from which you want to upload
|
||||||
an image with a ``glance`` client command.
|
an image with a ``glance`` client command.
|
||||||
|
|
||||||
On any shell from which you want to run OpenStack commands, source the
|
#. On any shell from which you want to run OpenStack commands, source the
|
||||||
``PROJECT-openrc.sh`` file for the respective project.
|
``PROJECT-openrc.sh`` file for the respective project.
|
||||||
|
|
||||||
In the following example, the ``demo-openrc.sh`` file is sourced for
|
In the following example, the ``demo-openrc.sh`` file is sourced for
|
||||||
the demo project:
|
the demo project:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ source demo-openrc.sh
|
$ source demo-openrc.sh
|
||||||
|
|
||||||
When you are prompted for an OpenStack password, enter the password for
|
#. When you are prompted for an OpenStack password, enter the password for
|
||||||
the user who downloaded the ``PROJECT-openrc.sh`` file.
|
the user who downloaded the ``PROJECT-openrc.sh`` file.
|
||||||
|
|
||||||
Create and source the OpenStack RC file
|
Create and source the OpenStack RC file
|
||||||
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
||||||
@ -57,28 +57,28 @@ Create and source the OpenStack RC file
|
|||||||
Alternatively, you can create the ``PROJECT-openrc.sh`` file from
|
Alternatively, you can create the ``PROJECT-openrc.sh`` file from
|
||||||
scratch, if you cannot download the file from the dashboard.
|
scratch, if you cannot download the file from the dashboard.
|
||||||
|
|
||||||
In a text editor, create a file named ``PROJECT-openrc.sh`` and add
|
#. In a text editor, create a file named ``PROJECT-openrc.sh`` and add
|
||||||
the following authentication information:
|
the following authentication information:
|
||||||
|
|
||||||
.. code-block:: shell
|
.. code-block:: shell
|
||||||
|
|
||||||
export OS_USERNAME=username
|
export OS_USERNAME=username
|
||||||
export OS_PASSWORD=password
|
export OS_PASSWORD=password
|
||||||
export OS_TENANT_NAME=projectName
|
export OS_TENANT_NAME=projectName
|
||||||
export OS_AUTH_URL=https://identityHost:portNumber/v2.0
|
export OS_AUTH_URL=https://identityHost:portNumber/v2.0
|
||||||
# The following lines can be omitted
|
# The following lines can be omitted
|
||||||
export OS_TENANT_ID=tenantIDString
|
export OS_TENANT_ID=tenantIDString
|
||||||
export OS_REGION_NAME=regionName
|
export OS_REGION_NAME=regionName
|
||||||
export OS_CACERT=/path/to/cacertFile
|
export OS_CACERT=/path/to/cacertFile
|
||||||
|
|
||||||
On any shell from which you want to run OpenStack commands, source the
|
#. On any shell from which you want to run OpenStack commands, source the
|
||||||
``PROJECT-openrc.sh`` file for the respective project. In this
|
``PROJECT-openrc.sh`` file for the respective project. In this
|
||||||
example, you source the ``admin-openrc.sh`` file for the admin
|
example, you source the ``admin-openrc.sh`` file for the admin
|
||||||
project:
|
project:
|
||||||
|
|
||||||
.. code-block:: console
|
.. code-block:: console
|
||||||
|
|
||||||
$ source admin-openrc.sh
|
$ source admin-openrc.sh
|
||||||
|
|
||||||
.. note::
|
.. note::
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user