Update env. variables in the documentation

This patch:
6df83e0bc5

changes the variables that must be exported to use ironic in standalone
mode. The old env. variables:

export OS_URL=http://localhost:6385/
export OS_TOKEN='fake-token'

must be replaced by:

export OS_ENDPOINT=http://localhost:6385/
export OS_AUTH_TYPE=none

Change-Id: Ia2ae95af66f701198d5e3174a7cb5564664ae038
Signed-off-by: Manuel Buil <mbuil@suse.com>
This commit is contained in:
Manuel Buil 2019-09-23 15:12:35 +02:00
parent 9de0a66aab
commit cad66b0323
2 changed files with 5 additions and 5 deletions

View File

@ -204,8 +204,8 @@ Step 1: Create a Python virtualenv
#. Export some ENV vars so the client will connect to the local services
that you'll start in the next section::
export OS_TOKEN=fake-token
export OS_URL=http://localhost:6385/
export OS_AUTH_TYPE=none
export OS_ENDPOINT=http://localhost:6385/
Next, install and configure system dependencies.

View File

@ -63,12 +63,12 @@ Steps to start a deployment are pretty similar to those when using Compute:
#. To use the `openstack baremetal CLI
<https://docs.openstack.org/python-ironicclient/latest/cli/osc_plugin_cli.html>`_,
set up these environment variables. Since no authentication strategy is
being used, the value can be any string for OS_TOKEN. OS_URL is
being used, the value none must be set for OS_AUTH_TYPE. OS_ENDPOINT is
the URL of the ironic-api process.
For example::
export OS_TOKEN=fake-token
export OS_URL=http://localhost:6385/
export OS_AUTH_TYPE=none
export OS_ENDPOINT=http://localhost:6385/
#. Create a node in Bare Metal service. At minimum, you must specify the driver
name (for example, ``ipmi``). You can also specify all the required