Merge "[tls] Make a cert SLS IDs globally unique"
diff --git a/keystone/files/keystonerc b/keystone/files/keystonerc
index e4d7306..c91d196 100644
--- a/keystone/files/keystonerc
+++ b/keystone/files/keystonerc
@@ -6,6 +6,8 @@
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/"
-export OS_INTERFACE=internal
-export OS_ENDPOINT_TYPE="internal"
+{%- if server.interface is defined %}
+export OS_INTERFACE={{ server.interface }}
+{%- endif %}
+export OS_ENDPOINT_TYPE={{ server.get('interface', 'internal') }}
export OS_CACERT="{{ server.cacert }}"