Remove env-vars
It's not always correct and has been replaced by clouds.yaml and openrc. Change-Id: Ie6349502e8db1a68648258a88c7a9fb9d2a77d8a
This commit is contained in:
parent
3a7ca47680
commit
3b5278740f
@ -32,12 +32,12 @@ The following two environment variables can be set:
|
|||||||
- ``OS_AUTH_TYPE`` - set to ``none`` to bypass authentication.
|
- ``OS_AUTH_TYPE`` - set to ``none`` to bypass authentication.
|
||||||
- ``OS_ENDPOINT`` - A URL to the ironic API, such as http://localhost:6385/
|
- ``OS_ENDPOINT`` - A URL to the ironic API, such as http://localhost:6385/
|
||||||
|
|
||||||
For convenience, an environment file called ``env-vars`` is provided that
|
For convenience, an environment file called ``openrc`` is created in the home
|
||||||
contains default values for these variables and can be sourced to allow the CLI
|
directory of the current user that contains default values for these variables
|
||||||
to connect to a local Ironic installation operating in noauth mode. For
|
and can be sourced to allow the CLI to connect to a local Ironic installation.
|
||||||
example::
|
For example::
|
||||||
|
|
||||||
. env-vars
|
. ~/openrc bifrost
|
||||||
baremetal node list
|
baremetal node list
|
||||||
|
|
||||||
This should display a table of nodes, or nothing if there are no nodes
|
This should display a table of nodes, or nothing if there are no nodes
|
||||||
|
2
env-vars
2
env-vars
@ -1,2 +0,0 @@
|
|||||||
export OS_ENDPOINT=http://localhost:6385/
|
|
||||||
export OS_AUTH_TYPE=none
|
|
6
releasenotes/notes/env-vars-f07a4779a881c039.yaml
Normal file
6
releasenotes/notes/env-vars-f07a4779a881c039.yaml
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
other:
|
||||||
|
- |
|
||||||
|
The file ``env-vars`` has been removed. It contains variables that only
|
||||||
|
work for no-auth mode and only for ironic itself (not inspector). Use
|
||||||
|
the generated ``clouds.yaml`` or ``openrc`` in the home directory.
|
@ -78,6 +78,5 @@ else
|
|||||||
echo "Prepend ~/.local/bin to your PATH if it is not that way already.."
|
echo "Prepend ~/.local/bin to your PATH if it is not that way already.."
|
||||||
echo ".. or use full path to local Ansible at ~/.local/bin/ansible-playbook"
|
echo ".. or use full path to local Ansible at ~/.local/bin/ansible-playbook"
|
||||||
fi
|
fi
|
||||||
echo "source env-vars"
|
|
||||||
echo "Then run playbooks as normal."
|
echo "Then run playbooks as normal."
|
||||||
echo
|
echo
|
||||||
|
Loading…
x
Reference in New Issue
Block a user