fix machine linux tests

They are hard broken as the runner images added
/etc/containers/seccomp.json at the podman build remote client tries to
send that to the server which then fails.

Signed-off-by: Paul Holzinger <pholzing@redhat.com>
This commit is contained in:
Paul Holzinger 2026-08-14 15:26:10 +02:00
parent 7f284a3a5c
commit 7482fce5dc
No known key found for this signature in database
GPG key ID: EB145DD938A3CAF2

View file

@ -457,10 +457,11 @@ jobs:
sudo ln -sfr /usr/libexec/virtiofsd /usr/local/libexec/podman/virtiofsd
# The default podman ship in ubuntu comes with an old unsupported registries.conf v1 format,
# just remove it as we need no special config.
- name: "Configure registries.conf"
# just remove it as we need no special config. And also the seccomp profile in /etc is wrong
# as it triggers a podman build error as the path is send via the API inside we do not have that.
- name: "Remove containers configs"
run: |
sudo rm -f /etc/containers/registries.conf
sudo rm -f /etc/containers/registries.conf /etc/containers/seccomp.json
# podman-machine needs kvm access
- name: "Fix kvm permissions"