File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -72,8 +72,7 @@ kolla_ansible_source_version: "{{ stackhpc_kolla_ansible_source_version }}"
72
72
73
73
# Kolla base container image distribution version.
74
74
# Default is kolla_base_distro_version_default_map[kolla_base_distro].
75
- kolla_base_distro_version : " {{ kolla_base_distro_version }}"
76
- distro_python_verion : " {{ '3.12' if kolla_base_distro_version == 'noble' else omit }}"
75
+ # kolla_base_distro_version: "{{ kolla_base_distro_version }}"
77
76
78
77
kolla_base_distro_and_version : " {{ kolla_base_distro }}-{{ kolla_base_distro_version }}"
79
78
@@ -325,7 +324,12 @@ kolla_build_blocks:
325
324
# With the UCA keyring installed we can now add all repos.
326
325
base_ubuntu_package_sources_list : |
327
326
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
328
- COPY sources.list.ubuntu /etc/apt/sources.list.backup
327
+ {% if kolla_base_distro_version == 'jammy' %}
328
+ COPY sources.list.ubuntu.jammy /etc/apt/sources.list.backup
329
+ {% else %}
330
+ COPY sources.list.ubuntu.noble /etc/apt/sources.list.backup
331
+ {% endif %}
332
+
329
333
{% endif %}
330
334
RUN \
331
335
rm /etc/apt/sources.list && \
Original file line number Diff line number Diff line change @@ -12,6 +12,8 @@ kolla_base_distro_version: "{% raw %}{{ kolla_base_distro_version_default_map[ko
12
12
# Convenience variable for base distro and version string.
13
13
kolla_base_distro_and_version : " {% raw %}{{ kolla_base_distro }}-{{ kolla_base_distro_version }}{% endraw %}"
14
14
15
+ distro_python_verion : " {{ '3.12' if kolla_base_distro_version == 'noble' else omit }}"
16
+
15
17
# Dict of Kolla image tags to deploy for each service.
16
18
# Each key is the tag variable prefix name, and the value is another dict,
17
19
# where the key is the OS distro and the value is the tag to deploy.
You can’t perform that action at this time.
0 commit comments