Skip to content

[fix] Make sure all the sources from the build are removed #1780

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: stackhpc/2025.1
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -259,7 +259,8 @@ kolla_build_blocks:
{% endfor %}
{% else %}
RUN \
rm /etc/apt/sources.list && \
rm -f /etc/apt/sources.list && \
rm -f /etc/apt/sources.list.d/* && \
{% if stackhpc_repo_mirror_auth_proxy_enabled | bool %}
{# We lack the ca-certificates package at this stage, so don't verify the CA initially #}
echo 'Acquire::https::Verify-Peer "false";' > /etc/apt/apt.conf.d/90no-verify-peer && \
Expand Down Expand Up @@ -291,7 +292,8 @@ kolla_build_blocks:
COPY sources.list.ubuntu /etc/apt/sources.list.backup
{% endif %}
RUN \
rm /etc/apt/sources.list && \
rm -f /etc/apt/sources.list && \
rm -f /etc/apt/sources.list.d/* && \
rm -f /etc/apt/apt.conf.d/90no-verify-peer && \
{% for repo in stackhpc_ubuntu_noble_repos %}
echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
Expand Down
Loading