@@ -251,18 +251,13 @@ kolla_build_blocks:
251251 mkdir -p /etc/yum.repos.d.backup && \
252252 tar -czf /etc/yum.repos.d.backup/repos.tar.gz -C /etc/yum.repos.d . && \
253253 {% endif %}
254- echo "===== Before sed modifications I =====" && \
255- cat /etc/yum.repos.d/*.repo && \
256254 {% for repo in stackhpc_yum_repos %}
257255 sed -i -e '/\[{{ repo.tag }}\]/,/^\[/ s/^\(mirrorlist *=.*\)/#\1/g' \
258256 -e '/\[{{ repo.tag }}\]/,/^\[/ s/^[# ]*\(baseurl *=.*\)/#\1/g' \
259257 -e '/\[{{ repo.tag }}\]/,/^\[/ s/^[# ]*\(metalink *=.*\)/#\1/g' \
260258 -e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} && \
261259 {% endif %}
262260 {% endfor %}
263- && \
264- echo "===== After sed modifications I =====" && \
265- cat /etc/yum.repos.d/*.repo
266261 {% else %}
267262 RUN \
268263 rm /etc/apt/sources.list && \
@@ -279,8 +274,6 @@ kolla_build_blocks:
279274 {# fixme #}
280275 {% if kolla_base_distro == 'rocky' %}
281276 && \
282- echo "===== Before sed modifications II =====" && \
283- cat /etc/yum.repos.d/*.repo && \
284277 {% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
285278 tar -xzf /etc/yum.repos.d.backup/repos.tar.gz -C /etc/yum.repos.d && \
286279 tar -czf /etc/yum.repos.d.backup/repos.tar.gz -C /etc/yum.repos.d . && \
@@ -292,9 +285,6 @@ kolla_build_blocks:
292285 -e '/\[{{ repo.tag }}\]/,/^\[/ s/^[# ]*\(metalink *=.*\)/#\1/g' \
293286 -e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} &&{% endif %} \
294287 {% endfor %}
295- && \
296- echo "===== After sed modifications II =====" && \
297- cat /etc/yum.repos.d/*.repo \
298288 {% endif %}
299289 # With the UCA keyring installed we can now add all repos.
300290 base_ubuntu_package_sources_list : |
0 commit comments