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:
Tanja Roth 2016-01-11 17:05:30 +01:00
parent cac6032375
commit 5ed9c64a4b

View File

@ -23,33 +23,33 @@ with the OpenStack services that run in the cloud.
Download and source the OpenStack RC file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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
the :guilabel:`Compute` tab and click :guilabel:`Access & Security`.
#. 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
the :guilabel:`Compute` tab and click :guilabel:`Access & Security`.
On the :guilabel:`API Access` tab, click :guilabel:`Download OpenStack RC File`
and save the file. The filename will be of the form ``PROJECT-openrc.sh``
where ``PROJECT`` is the name of the project for which you downloaded the
file.
#. On the :guilabel:`API Access` tab, click :guilabel:`Download OpenStack
RC File` and save the file. The filename will be of the form
``PROJECT-openrc.sh`` where ``PROJECT`` is the name of the project for
which you downloaded the file.
Copy the ``PROJECT-openrc.sh`` file to the computer from which you
want to run OpenStack commands.
#. Copy the ``PROJECT-openrc.sh`` file to the computer from which you
want to run OpenStack commands.
For example, copy the file to the computer from which you want to upload
an image with a ``glance`` client command.
For example, copy the file to the computer from which you want to upload
an image with a ``glance`` client command.
On any shell from which you want to run OpenStack commands, source the
``PROJECT-openrc.sh`` file for the respective project.
#. On any shell from which you want to run OpenStack commands, source the
``PROJECT-openrc.sh`` file for the respective project.
In the following example, the ``demo-openrc.sh`` file is sourced for
the demo project:
In the following example, the ``demo-openrc.sh`` file is sourced for
the demo project:
.. code-block:: console
.. code-block:: console
$ source demo-openrc.sh
When you are prompted for an OpenStack password, enter the password for
the user who downloaded the ``PROJECT-openrc.sh`` file.
#. When you are prompted for an OpenStack password, enter the password for
the user who downloaded the ``PROJECT-openrc.sh`` file.
Create and source the OpenStack RC file
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@ -57,10 +57,10 @@ Create and source the OpenStack RC file
Alternatively, you can create the ``PROJECT-openrc.sh`` file from
scratch, if you cannot download the file from the dashboard.
In a text editor, create a file named ``PROJECT-openrc.sh`` and add
the following authentication information:
#. In a text editor, create a file named ``PROJECT-openrc.sh`` and add
the following authentication information:
.. code-block:: shell
.. code-block:: shell
export OS_USERNAME=username
export OS_PASSWORD=password
@ -71,12 +71,12 @@ the following authentication information:
export OS_REGION_NAME=regionName
export OS_CACERT=/path/to/cacertFile
On any shell from which you want to run OpenStack commands, source the
``PROJECT-openrc.sh`` file for the respective project. In this
example, you source the ``admin-openrc.sh`` file for the admin
project:
#. On any shell from which you want to run OpenStack commands, source the
``PROJECT-openrc.sh`` file for the respective project. In this
example, you source the ``admin-openrc.sh`` file for the admin
project:
.. code-block:: console
.. code-block:: console
$ source admin-openrc.sh