Complete openrc to work with openstackclient

When using openstackclient instead of the ironic cli, the parameters
OS_TOKEN and OS_URL must be added to openrc as documented here:

https://docs.openstack.org/ironic/latest/install/standalone.html

Change-Id: Id58d243598655ec9579354e53b137fbacbe8fb69
Signed-off-by: Manuel Buil <mbuil@suse.com>
This commit is contained in:
Manuel Buil 2018-08-03 11:30:19 +02:00
parent 0312ffa07f
commit e2f9518d22
1 changed files with 2 additions and 0 deletions

View File

@ -20,4 +20,6 @@ esac
{% else %}
export IRONIC_URL={{ ironic_api_url }}
export OS_AUTH_TOKEN='fake-token'
export OS_TOKEN='fake-token'
export OS_URL={{ ironic_api_url }}
{% endif %}