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:
322
322
{% endif %}
323
323
base_ubuntu_package_sources_list : |
324
324
RUN \
325
- mv /etc/apt/sources.list{,. backup} && \
325
+ mv /etc/apt/sources.list /etc/apt/sources.list. backup && \
326
326
{% for repo in stackhpc_ubuntu_focal_repos %}
327
327
echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
328
328
{% endif %}
329
329
{% endfor %}
330
330
footer : |
331
331
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
332
- {% if kolla_base_distro == 'centos' %}
332
+ {% if kolla_base_distro in [ 'centos', 'rocky'] %}
333
333
RUN \
334
334
tar -xzf /etc/yum.repos.d.backup/repos.tar.gz -C /etc/yum.repos.d && \
335
335
if grep -r '{{ stackhpc_repo_mirror_url }}' /etc/yum.repos.d; then \
You can’t perform that action at this time.
0 commit comments