From 5c6ffd745794e1c8e22f1d861fc0450ff2491cd4 Mon Sep 17 00:00:00 2001 From: Michal Nasiadka Date: Wed, 1 Oct 2025 03:21:44 -0400 Subject: Stop duplicating repos in repos.yaml Change-Id: Ic8bfaedb1e94dd8b64fa8a63d9cd3b76a2b73ffb Signed-off-by: Michal Nasiadka --- kolla/template/methods.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'kolla/template/methods.py') diff --git a/kolla/template/methods.py b/kolla/template/methods.py index 388d4858f..53e0da95b 100644 --- a/kolla/template/methods.py +++ b/kolla/template/methods.py @@ -126,7 +126,8 @@ def handle_repos(context, reponames, mode): commands = '' try: - repo_list = repo_data['%s-%s' % (base_distro, base_arch)] + repo_list = repo_data[base_distro] | \ + repo_data['%s-%s' % (base_distro, base_arch)] except KeyError: # NOTE(hrw): Fallback to distro list repo_list = repo_data[base_distro] -- cgit v1.2.3