Skip to content

Commit

Permalink
Merge pull request #649 from stackhpc/fix-kolla-yml
Browse files Browse the repository at this point in the history
fix build of rocky and ubuntu images
  • Loading branch information
markgoddard authored Sep 19, 2023
2 parents afcd80d + e6309a7 commit 721df66
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -322,14 +322,14 @@ kolla_build_blocks:
{% endif %}
base_ubuntu_package_sources_list: |
RUN \
mv /etc/apt/sources.list{,.backup} && \
mv /etc/apt/sources.list /etc/apt/sources.list.backup && \
{% for repo in stackhpc_ubuntu_focal_repos %}
echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
{% endif %}
{% endfor %}
footer: |
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
{% if kolla_base_distro == 'centos' %}
{% if kolla_base_distro in ['centos', 'rocky'] %}
RUN \
tar -xzf /etc/yum.repos.d.backup/repos.tar.gz -C /etc/yum.repos.d && \
if grep -r '{{ stackhpc_repo_mirror_url }}' /etc/yum.repos.d; then \
Expand Down

0 comments on commit 721df66

Please sign in to comment.