diff --git a/templates/parts/section-ironic b/templates/parts/section-ironic index 012f1837..c37cc205 100644 --- a/templates/parts/section-ironic +++ b/templates/parts/section-ironic @@ -1,12 +1,7 @@ {% if virt_type == 'ironic' and auth_host and ironic_api_ready -%} -{% if api_version and api_version == "3" -%} -{% set auth_ver = "v3" -%} -{% else -%} -{% set auth_ver = "v2.0" -%} -{% endif -%} [ironic] +auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }} auth_type = password -auth_url = {{auth_protocol}}://{{auth_host}}:{{auth_port}}/{{auth_ver}} project_name = {{ admin_tenant_name }} username = {{ admin_user }} password = {{ admin_password }}