summaryrefslogtreecommitdiff
path: root/.gitignore
diff options
context:
space:
mode:
authorPaul Holzinger <pholzing@redhat.com>2022-05-31 18:37:40 +0200
committerMatthew Heon <mheon@redhat.com>2022-06-14 16:12:10 -0400
commit6f6b64049f5721a9e82a9e1a8d87ae64c34c6e7e (patch)
tree35bb32a219a468694100ed0dc26a6c6192377ec9 /.gitignore
parentef2f69d4c255bcae6f900fe9617ea8f9d593afd7 (diff)
downloadpodman-6f6b64049f5721a9e82a9e1a8d87ae64c34c6e7e.tar.gz
podman-6f6b64049f5721a9e82a9e1a8d87ae64c34c6e7e.tar.bz2
podman-6f6b64049f5721a9e82a9e1a8d87ae64c34c6e7e.zip
pkg/specgen: parse default network mode on server
When podman-remote is used we should not resolve the default network mode on the client. Defaults should be set on the server. In this case this is important because we have different defaults for root/rootless. So when the client is rootless and the server is root we must pick the root default. Note that this already worked when --network was set since we did not parsed the flag in this case. To reproduce you need --network=default. Also removed a unused function. [NO NEW TESTS NEEDED] I tested it manually but I am not sure how I can hook a test like this up in CI. The client would need to run as rootless and the server as root or the other way around. Fixes #14368 Signed-off-by: Paul Holzinger <pholzing@redhat.com>
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions