Skip to content

Commit

Permalink
Add Ubuntu repos earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
markgoddard committed Nov 1, 2023
1 parent 1848763 commit f5aee4b
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 #}
Expand All @@ -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 %}
Expand Down

0 comments on commit f5aee4b

Please sign in to comment.