Merge "Fix for interface for nova calls on compute node" into release/2019.2.0
diff --git a/nova/compute.sls b/nova/compute.sls
index 51eaf20..9450a30 100644
--- a/nova/compute.sls
+++ b/nova/compute.sls
@@ -370,7 +370,7 @@
{%- set protocol = 'https' %}
{%- endif %}
-{%- set identity_params = " --os-username="+ident.user+" --os-password="+ident.password+" --os-project-name="+ident.tenant+" --os-auth-url="+protocol+"://"+ident.host+":"+ident.port|string+"/"+version %}
+{%- set identity_params = "--os-endpoint-type="+ident.get('interface', 'internal')+" --os-username="+ident.user+" --os-password="+ident.password+" --os-project-name="+ident.tenant+" --os-auth-url="+protocol+"://"+ident.host+":"+ident.port|string+"/"+version %}
{%- if compute.host is defined %}
{%- set compute_name = compute.host %}