kolla-ansible/ansible/roles/common/templates/admin-openrc.sh.j2
Alex Yang eeb8014964 Fix the domain name in admin-openrc.sh.j2
Because the default domain name is "Default" in
ansible/group_vars/all.yml (default domain id is "default"),
the domain name in admin-openrc also should be "Default".

Change-Id: I05f905d87ca57c09d4bdf540c4efbe06ee9bff67
Signed-off-by: Alex Yang <yangyang1@zte.com.cn>
2017-08-07 08:38:54 +08:00

14 lines
548 B
Django/Jinja

export OS_PROJECT_DOMAIN_NAME=Default
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD={{ keystone_admin_password }}
export OS_AUTH_URL={{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}/v3
export OS_INTERFACE=internal
export OS_IDENTITY_API_VERSION=3
export OS_REGION_NAME={{ openstack_region_name }}
{% if kolla_enable_tls_external | bool and kolla_external_fqdn_cacert %}
export OS_CACERT={{ kolla_external_fqdn_cacert }}
{% endif %}