summaryrefslogtreecommitdiff
path: root/test/system/500-networking.bats
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2021-11-09 21:11:30 +0100
committerGitHub <noreply@github.com>2021-11-09 21:11:30 +0100
commit5437568fcda04c2999b5fa9aad4dd07f2d3cfd67 (patch)
tree2d5d9ccac8fc5c3c3e71fd5984a0cbe6adae87ba /test/system/500-networking.bats
parent43bd57c7fb16ff7a6531c260ff3f9838bd20b4aa (diff)
parent216e2cb36679abfcca869bed110b73e816ff9bf4 (diff)
downloadpodman-5437568fcda04c2999b5fa9aad4dd07f2d3cfd67.tar.gz
podman-5437568fcda04c2999b5fa9aad4dd07f2d3cfd67.tar.bz2
podman-5437568fcda04c2999b5fa9aad4dd07f2d3cfd67.zip
Merge pull request #12227 from Luap99/net-setup
Fix rootless networking with userns and ports
Diffstat (limited to 'test/system/500-networking.bats')
-rw-r--r--test/system/500-networking.bats3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/system/500-networking.bats b/test/system/500-networking.bats
index c86497f4c..7697195ce 100644
--- a/test/system/500-networking.bats
+++ b/test/system/500-networking.bats
@@ -78,6 +78,9 @@ load helpers
if [[ -z $cidr ]]; then
# regex to match that we are in 10.X subnet
match="10\..*"
+ # force bridge networking also for rootless
+ # this ensures that rootless + bridge + userns + ports works
+ network_arg="--network bridge"
else
# Issue #9828 make sure a custom slir4netns cidr also works
network_arg="--network slirp4netns:cidr=$cidr"