@@ -266,7 +266,6 @@ kolla_build_blocks:
266
266
mkdir -p /etc/yum.repos.d.backup && \
267
267
tar -czf /etc/yum.repos.d.backup/repos.tar.gz -C /etc/yum.repos.d . && \
268
268
{% endif %}
269
- echo "===== Before sed modifications I =====" && \
270
269
cat /etc/yum.repos.d/*.repo && \
271
270
{% for repo in stackhpc_yum_repos %}
272
271
sed -i -e '/\[{{ repo.tag }}\]/,/^\[/ s/^\(mirrorlist *=.*\)/#\1/g' \
@@ -275,8 +274,6 @@ kolla_build_blocks:
275
274
-e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} && \
276
275
{% endif %}
277
276
{% endfor %}
278
- && \
279
- echo "===== After sed modifications I =====" && \
280
277
cat /etc/yum.repos.d/*.repo
281
278
{% else %}
282
279
RUN \
@@ -294,8 +291,6 @@ kolla_build_blocks:
294
291
{# fixme #}
295
292
{% if kolla_base_distro == 'rocky' %}
296
293
&& \
297
- echo "===== Before sed modifications II =====" && \
298
- cat /etc/yum.repos.d/*.repo && \
299
294
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
300
295
tar -xzf /etc/yum.repos.d.backup/repos.tar.gz -C /etc/yum.repos.d && \
301
296
tar -czf /etc/yum.repos.d.backup/repos.tar.gz -C /etc/yum.repos.d . && \
@@ -307,9 +302,6 @@ kolla_build_blocks:
307
302
-e '/\[{{ repo.tag }}\]/,/^\[/ s/^[# ]*\(metalink *=.*\)/#\1/g' \
308
303
-e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} &&{% endif %} \
309
304
{% endfor %}
310
- && \
311
- echo "===== After sed modifications II =====" && \
312
- cat /etc/yum.repos.d/*.repo \
313
305
{% endif %}
314
306
# With the UCA keyring installed we can now add all repos.
315
307
base_ubuntu_package_sources_list : |
0 commit comments