diff --git a/test/check-application b/test/check-application index ef1389d12..4a1d8a302 100755 --- a/test/check-application +++ b/test/check-application @@ -324,7 +324,8 @@ class TestApplication(testlib.MachineCase): """) # Add local insecure registry into registries conf - m.write("/etc/containers/registries.conf", REGISTRIES_CONF) + m.execute("mkdir -p /etc/containers/registries.conf.d") + m.write("/etc/containers/registries.conf.d/99-cockpit-podman-test.conf", REGISTRIES_CONF) m.execute("systemctl stop podman.service") def createQuadlet(self, name: str, podName: str | None = None, containerName: str | None = None,