mirror of
https://github.com/containers/podman.git
synced 2025-10-25 10:16:43 +08:00
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>
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user