File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -322,14 +322,14 @@ kolla_build_blocks:
322322 {% endif %}
323323 base_ubuntu_package_sources_list : |
324324 RUN \
325- mv /etc/apt/sources.list{,. backup} && \
325+ mv /etc/apt/sources.list /etc/apt/sources.list. backup && \
326326 {% for repo in stackhpc_ubuntu_focal_repos %}
327327 echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
328328 {% endif %}
329329 {% endfor %}
330330 footer : |
331331 {% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
332- {% if kolla_base_distro == 'centos' %}
332+ {% if kolla_base_distro in [ 'centos', 'rocky'] %}
333333 RUN \
334334 tar -xzf /etc/yum.repos.d.backup/repos.tar.gz -C /etc/yum.repos.d && \
335335 if grep -r '{{ stackhpc_repo_mirror_url }}' /etc/yum.repos.d; then \
You can’t perform that action at this time.
0 commit comments