blob: c91d196ea1d2b555958e09047c60e9e420ab3279 [file] [log] [blame]
{%- from "keystone/map.jinja" import server with context %}
export OS_USERNAME={{ server.admin_name }}
export OS_PASSWORD={{ server.admin_password }}
export OS_TENANT_NAME={{ server.admin_tenant }}
export OS_AUTH_URL=http://{{ server.bind.private_address }}:{{ server.bind.private_port }}/v2.0
export OS_REGION_NAME={{ server.region }}
export OS_SERVICE_TOKEN={{ server.service_token }}
export OS_SERVICE_ENDPOINT="http://{{ server.bind.private_address }}:{{ server.bind.private_port }}/v2.0/"
{%- if server.interface is defined %}
export OS_INTERFACE={{ server.interface }}
{%- endif %}
export OS_ENDPOINT_TYPE={{ server.get('interface', 'internal') }}
export OS_CACERT="{{ server.cacert }}"