Install: Simplify OpenRC files
Simplify OpenRC files by removing the '.sh' suffix and using '.' instead of 'source' to load them. Change-Id: Ic553ea10ac4f3958525c97bbda02ebe7d4bac24f Implements: bp installguide-mitaka
This commit is contained in:
parent
52ad62f335
commit
d3cafcade6
|
@ -46,7 +46,7 @@ database, service credentials, and API endpoints.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. To create the service credentials, complete these steps:
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ MongoDB before proceeding further.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
3. To create the service credentials, complete these steps:
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ node.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. Create the ``ResellerAdmin`` role:
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ integration for additional services contain more meters.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. List available meters:
|
||||
|
||||
|
|
|
@ -49,7 +49,7 @@ volumes to instances.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. To create the service credentials, complete these steps:
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Verify operation of the Block Storage service.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. List service components to verify successful launch of each process:
|
||||
|
||||
|
|
|
@ -46,7 +46,7 @@ configuration stores images on the local file system.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. To create the service credentials, complete these steps:
|
||||
|
||||
|
|
|
@ -22,14 +22,14 @@ For information about how to manage images, see the
|
|||
.. code-block:: console
|
||||
|
||||
$ echo "export OS_IMAGE_API_VERSION=2" \
|
||||
| tee -a admin-openrc.sh demo-openrc.sh
|
||||
| tee -a admin-openrc demo-openrc
|
||||
|
||||
#. Source the ``admin`` credentials to gain access to
|
||||
admin-only CLI commands:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. Download the source image:
|
||||
|
||||
|
|
|
@ -48,7 +48,7 @@ Orchestration service, code-named heat, on the controller node.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. To create the service credentials, complete these steps:
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@ Verify operation of the Orchestration service.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. List service components to verify successful launch and
|
||||
registration of each process:
|
||||
|
|
|
@ -17,7 +17,7 @@ Create client environment scripts for the ``admin`` and ``demo``
|
|||
projects and users. Future portions of this guide reference these
|
||||
scripts to load appropriate credentials for client operations.
|
||||
|
||||
#. Edit the ``admin-openrc.sh`` file and add the following content:
|
||||
#. Edit the ``admin-openrc`` file and add the following content:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
@ -32,7 +32,7 @@ scripts to load appropriate credentials for client operations.
|
|||
Replace ``ADMIN_PASS`` with the password you chose
|
||||
for the ``admin`` user in the Identity service.
|
||||
|
||||
#. Edit the ``demo-openrc.sh`` file and add the following content:
|
||||
#. Edit the ``demo-openrc`` file and add the following content:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
|
@ -54,13 +54,13 @@ To run clients as a specific project and user, you can simply load
|
|||
the associated client environment script prior to running them.
|
||||
For example:
|
||||
|
||||
#. Load the ``admin-openrc.sh`` file to populate
|
||||
#. Load the ``admin-openrc`` file to populate
|
||||
environment variables with the location of the Identity service
|
||||
and the ``admin`` project and user credentials:
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. Request an authentication token:
|
||||
|
||||
|
|
|
@ -11,7 +11,7 @@ Create a volume
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source demo-openrc.sh
|
||||
$ . demo-openrc
|
||||
|
||||
#. Create a 1 GB volume:
|
||||
|
||||
|
|
|
@ -54,7 +54,7 @@ Create a stack using the ``demo-template.yml`` template.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source demo-openrc.sh
|
||||
$ . demo-openrc
|
||||
|
||||
#. Determine available networks.
|
||||
|
||||
|
|
|
@ -22,7 +22,7 @@ Determine the configuration of the share server
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. Create a default share type before running manila-share service:
|
||||
|
||||
|
@ -85,7 +85,7 @@ Determine the configuration of the share server
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source demo-openrc.sh
|
||||
$ . demo-openrc
|
||||
|
||||
.. code-block:: console
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ Create the provider network
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. Create the network:
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ Create the self-service network
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source demo-openrc.sh
|
||||
$ . demo-openrc
|
||||
|
||||
#. Create the network:
|
||||
|
||||
|
@ -146,7 +146,7 @@ to the existing ``provider`` provider network.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. Add the ``router: external`` option to the ``provider`` network:
|
||||
|
||||
|
@ -159,7 +159,7 @@ to the existing ``provider`` provider network.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source demo-openrc.sh
|
||||
$ . demo-openrc
|
||||
|
||||
#. Create the router:
|
||||
|
||||
|
@ -205,7 +205,7 @@ creation examples.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. List network namespaces. You should see one ``qrouter`` namespace and two
|
||||
``qdhcp`` namespaces.
|
||||
|
|
|
@ -14,7 +14,7 @@ name, network, security group, key, and instance name.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source demo-openrc.sh
|
||||
$ . demo-openrc
|
||||
|
||||
#. A flavor specifies a virtual resource allocation profile which
|
||||
includes processor, memory, and storage.
|
||||
|
|
|
@ -14,7 +14,7 @@ name, network, security group, key, and instance name.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source demo-openrc.sh
|
||||
$ . demo-openrc
|
||||
|
||||
#. A flavor specifies a virtual resource allocation profile which
|
||||
includes processor, memory, and storage.
|
||||
|
|
|
@ -47,7 +47,7 @@ must add a public key to the Compute service.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source demo-openrc.sh
|
||||
$ . demo-openrc
|
||||
|
||||
#. Generate and add a key pair:
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@ must create a database, service credentials, and API endpoints.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. To create the service credentials, complete these steps:
|
||||
|
||||
|
|
|
@ -14,7 +14,7 @@ Verify operation of the Shared File Systems service.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. List service components to verify successful launch of each process:
|
||||
|
||||
|
|
|
@ -41,7 +41,7 @@ Install and configure controller node
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. To create the service credentials, complete these steps:
|
||||
|
||||
|
|
|
@ -10,7 +10,7 @@ Verify operation
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. List loaded extensions to verify successful launch of the
|
||||
``neutron-server`` process:
|
||||
|
|
|
@ -50,7 +50,7 @@ Compute service, code-named nova, on the controller node.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. To create the service credentials, complete these steps:
|
||||
|
||||
|
|
|
@ -12,7 +12,7 @@ Verify operation of the Compute service.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. List service components to verify successful launch and
|
||||
registration of each process:
|
||||
|
|
|
@ -31,7 +31,7 @@ create service credentials and an API endpoint.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source admin-openrc.sh
|
||||
$ . admin-openrc
|
||||
|
||||
#. To create the Identity service credentials, complete these steps:
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ Verify operation of the Object Storage service.
|
|||
|
||||
.. code-block:: console
|
||||
|
||||
$ source demo-openrc.sh
|
||||
$ . demo-openrc
|
||||
|
||||
#. Show the service status:
|
||||
|
||||
|
|
Loading…
Reference in New Issue