Fix for interface for nova calls on compute node

Prod-Related: PROD-34026
Change-Id: Ib6290023f11c650eff85944ee98378e550e1b518
(cherry picked from commit 92ddd6acfd2f65d9881d2ff1911685559f8e6d76)
diff --git a/nova/compute.sls b/nova/compute.sls
index 02b045b..4f9af4a 100644
--- a/nova/compute.sls
+++ b/nova/compute.sls
@@ -367,7 +367,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 %}