Bug fix: support kilo's keystone requirement for domain-name, extracts from ENV var

This commit is contained in:
Xavier Lange 2017-01-25 14:34:54 -08:00 committed by Brad Beam
parent 27b4e61c9f
commit dd10b8a27c
2 changed files with 3 additions and 1 deletions

View file

@ -28,6 +28,7 @@ openstack_username: "{{ lookup('env','OS_USERNAME') }}"
openstack_password: "{{ lookup('env','OS_PASSWORD') }}"
openstack_region: "{{ lookup('env','OS_REGION_NAME') }}"
openstack_tenant_id: "{{ lookup('env','OS_TENANT_ID')|default(lookup('env','OS_PROJECT_ID'),true) }}"
openstack_domain_name: "{{ lookup('env','OS_USER_DOMAIN_NAME') }}"
# Container Linux by CoreOS cloud init config file to define /etc/resolv.conf content
# for hostnet pods and infra needs

View file

@ -4,3 +4,4 @@ username={{ openstack_username }}
password={{ openstack_password }}
region={{ openstack_region }}
tenant-id={{ openstack_tenant_id }}
domain-name={{ openstack_domain_name }}