File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -260,8 +260,9 @@ kolla_build_blocks:
260
260
{% endfor %}
261
261
{% else %}
262
262
RUN \
263
- rm /etc/apt/sources.list && \
264
- ls -lac /etc/apt/sources.list.d/ &&\
263
+ cat /etc/apt/sources.list && \
264
+ rm -f /etc/apt/sources.list && \
265
+ rm -f /etc/apt/sources.list.d/* &&\
265
266
{% if stackhpc_repo_mirror_auth_proxy_enabled | bool %}
266
267
{# We lack the ca-certificates package at this stage, so don't verify the CA initially #}
267
268
echo 'Acquire::https::Verify-Peer "false";' > /etc/apt/apt.conf.d/90no-verify-peer && \
@@ -293,9 +294,9 @@ kolla_build_blocks:
293
294
COPY sources.list.ubuntu /etc/apt/sources.list.backup
294
295
{% endif %}
295
296
RUN \
297
+ cat /etc/apt/sources.list && \
296
298
rm /etc/apt/sources.list && \
297
- ls -lac /etc/apt/sources.list.d/ && \
298
- rm -f /etc/apt/sources.list.d/docker-ce.sources && \
299
+ rm -f /etc/apt/sources.list.d/* && \
299
300
rm -f /etc/apt/apt.conf.d/90no-verify-peer && \
300
301
{% for repo in stackhpc_ubuntu_noble_repos %}
301
302
echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
You can’t perform that action at this time.
0 commit comments