Remove "/v3" duplicate from OS_AUTH_URL

The filter "align_auth_url" is appending an extra (and hardcoded) "/v3".
This is causing wrong url for region==SystemController at starlingx-openrc.sh

Change-Id: Ifb3c537e87573b7c710b8d94cd28ae232a14d2c9
Signed-off-by: Davi Frossard <dbarrosf@windriver.com>
This commit is contained in:
Davi Frossard 2024-03-08 17:39:58 -03:00
parent 95e690315e
commit fbde32bdf5

View File

@ -12,5 +12,5 @@ register = template.Library()
@register.filter(name="align_auth_url")
def align_auth_url(url):
url_list = url.split(':')
url_list[-1] = '5000/v3'
url_list[-1] = '5000'
return ':'.join(url_list)