mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-12 17:07:41 +00:00
Network test: fix podman-remote-rootless corner case
[Backport of #12297 into v3.4, to fix gating-test failures] Followup to #12229, in which I added a podman unshare for flake debugging. Turns out that doesn't work in podman-remote. It was not caught because CI doesn't run podman-remote rootless. Signed-off-by: Ed Santiago <santiago@redhat.com>
This commit is contained in:
parent
25f35ac9e8
commit
36b6bf119e
1 changed files with 1 additions and 1 deletions
|
|
@ -169,7 +169,7 @@ load helpers
|
|||
|
||||
# FIXME: debugging for #11871
|
||||
run_podman exec $cid cat /etc/resolv.conf
|
||||
if is_rootless; then
|
||||
if is_rootless && ! is_remote; then
|
||||
run_podman unshare --rootless-cni cat /etc/resolv.conf
|
||||
fi
|
||||
ps uxww
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue