diff --git a/etc/kayobe/kolla.yml b/etc/kayobe/kolla.yml index 8b7dcf6e1..490d6314f 100644 --- a/etc/kayobe/kolla.yml +++ b/etc/kayobe/kolla.yml @@ -244,6 +244,13 @@ kolla_build_blocks: -e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} && \ {% endif %} {% endfor %} + {% else %} + RUN \ + mv /etc/apt/sources.list /etc/apt/sources.list.backup && \ + {% for repo in stackhpc_ubuntu_jammy_repos %} + echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \ + {% endif %} + {% endfor %} {% endif %} base_centos_repo_overrides_post_yum: | {# fixme #} @@ -262,7 +269,6 @@ kolla_build_blocks: {% endif %} base_ubuntu_package_sources_list: | RUN \ - mv /etc/apt/sources.list /etc/apt/sources.list.backup && \ {% for repo in stackhpc_ubuntu_jammy_repos %} echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \ {% endif %}