Skip to content

Commit 4773e60

Browse files
committed
Split Jammy and Noble case in kolla override
1 parent 2776e73 commit 4773e60

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

etc/kayobe/kolla.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,12 @@ kolla_build_blocks:
324324
# With the UCA keyring installed we can now add all repos.
325325
base_ubuntu_package_sources_list: |
326326
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
327-
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+
328333
{% endif %}
329334
RUN \
330335
rm /etc/apt/sources.list && \

0 commit comments

Comments
 (0)