summaryrefslogtreecommitdiff
path: root/cmd/podman
diff options
context:
space:
mode:
authorbitstrings <pino.silvaggio@gmail.com>2021-01-29 23:37:14 -0500
committerp <pino.silvaggio@gmail.com>2021-02-02 13:50:26 -0500
commit0959196807bb85b1941343a6b984bfd7a08cfd06 (patch)
treedaafd3838e757504e595c16a06ee427ff2f1e364 /cmd/podman
parent2686e406a650f8ceac4b3763e0cfba16090d1c1b (diff)
downloadpodman-0959196807bb85b1941343a6b984bfd7a08cfd06.tar.gz
podman-0959196807bb85b1941343a6b984bfd7a08cfd06.tar.bz2
podman-0959196807bb85b1941343a6b984bfd7a08cfd06.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) {