summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorbitstrings <pino.silvaggio@gmail.com>2021-01-29 23:37:14 -0500
committerMatthew Heon <matthew.heon@pm.me>2021-02-04 14:19:00 -0500
commit6d9217228b87e5ea5b0e215701d8e001c44e1917 (patch)
tree3f707badef40577d69bfb9ffc7210f920ebea573 /cmd/podman
parent3b712d96157b718e76ea7fe5b5bb91a5ddd9f2a4 (diff)
downloadpodman-6d9217228b87e5ea5b0e215701d8e001c44e1917.tar.gz
podman-6d9217228b87e5ea5b0e215701d8e001c44e1917.tar.bz2
podman-6d9217228b87e5ea5b0e215701d8e001c44e1917.zip
Make slirp MTU configurable (network_cmd_options)
The mtu default value is currently forced to 65520. This let the user control it using the config key network_cmd_options, i.e.: network_cmd_options=["mtu=9000"] Signed-off-by: bitstrings <pino.silvaggio@gmail.com>
Diffstat (limited to 'cmd/podman')
-rw-r--r--cmd/podman/common/completion.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/common/completion.go b/cmd/podman/common/completion.go
index c9a3c5e94..09dd74e20 100644
--- a/cmd/podman/common/completion.go
+++ b/cmd/podman/common/completion.go
@@ -817,6 +817,7 @@ func AutocompleteNetworkFlag(cmd *cobra.Command, args []string, toComplete strin
"allow_host_loopback=": getBoolCompletion,
"cidr=": nil,
"enable_ipv6=": getBoolCompletion,
+ "mtu=": nil,
"outbound_addr=": nil,
"outbound_addr6=": nil,
"port_handler=": func(_ string) ([]string, cobra.ShellCompDirective) {