From 607fb7c89debd3d6931029957152fb548061132f Mon Sep 17 00:00:00 2001 From: Brad Beam Date: Mon, 27 Feb 2017 21:19:27 -0600 Subject: [PATCH] Making openstack domain name optional --- roles/kubernetes/preinstall/templates/openstack-cloud-config.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/roles/kubernetes/preinstall/templates/openstack-cloud-config.j2 b/roles/kubernetes/preinstall/templates/openstack-cloud-config.j2 index acad80a1a..8f13fc6b9 100644 --- a/roles/kubernetes/preinstall/templates/openstack-cloud-config.j2 +++ b/roles/kubernetes/preinstall/templates/openstack-cloud-config.j2 @@ -4,4 +4,6 @@ username={{ openstack_username }} password={{ openstack_password }} region={{ openstack_region }} tenant-id={{ openstack_tenant_id }} +{% if openstack_domain_name is defined and openstack_domain_name != "" %} domain-name={{ openstack_domain_name }} +{% endif %}