@@ -296,6 +296,9 @@ kolla_build_blocks:
296
296
{% endfor %}
297
297
{% else %}
298
298
RUN \
299
+ echo "== BEFORE APT SOURCE MODIFICATION ==" && \
300
+ cat /etc/apt/sources.list && \
301
+ ls -l /etc/apt/ && \
299
302
rm /etc/apt/sources.list && \
300
303
{% if stackhpc_repo_mirror_auth_proxy_enabled | bool %}
301
304
{# We lack the ca-certificates package at this stage, so don't verify the CA initially #}
@@ -311,8 +314,13 @@ kolla_build_blocks:
311
314
echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
312
315
{% endif %}
313
316
{% endfor %}
317
+ {% endif %} && \
318
+ echo "== AFTER APT SOURCE MODIFICATION ==" && \
319
+ cat /etc/apt/sources.list && \
320
+ ls -l /etc/apt/
314
321
{% endif %}
315
322
{% endif %}
323
+
316
324
base_centos_repo_overrides_post_yum : |
317
325
{# fixme #}
318
326
{% if kolla_base_distro == 'rocky' %}
@@ -329,6 +337,7 @@ kolla_build_blocks:
329
337
-e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} &&{% endif %} \
330
338
{% endfor %}
331
339
{% endif %}
340
+
332
341
# With the UCA keyring installed we can now add all repos.
333
342
base_ubuntu_package_sources_list : |
334
343
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
@@ -337,9 +346,11 @@ kolla_build_blocks:
337
346
{% else %}
338
347
COPY sources.list.ubuntu.noble /etc/apt/sources.list.backup
339
348
{% endif %}
340
-
341
349
{% endif %}
342
350
RUN \
351
+ echo "== BEFORE REPLACING APT SOURCES IN base_ubuntu_package_sources_list ==" && \
352
+ cat /etc/apt/sources.list || echo "No sources.list found" && \
353
+ ls -l /etc/apt/ && \
343
354
rm /etc/apt/sources.list && \
344
355
rm -f /etc/apt/apt.conf.d/90no-verify-peer && \
345
356
{% if kolla_base_distro_version == 'jammy' %}
@@ -352,6 +363,10 @@ kolla_build_blocks:
352
363
echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
353
364
{% endif %}
354
365
{% endfor %}
366
+ {% endif %} && \
367
+ echo "== AFTER REPLACING APT SOURCES IN base_ubuntu_package_sources_list ==" && \
368
+ cat /etc/apt/sources.list && \
369
+ ls -l /etc/apt/
355
370
{% endif %}
356
371
footer : |
357
372
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
0 commit comments