mirror of
https://github.com/containers/podman.git
synced 2025-06-25 20:26:51 +08:00
Merge pull request #18569 from PhrozenByte/deprecate_network_cmd_path
[CI:DOCS] Fix documentation of `--network-cmd-path` CLI option
This commit is contained in:
@ -438,6 +438,7 @@ func rootFlags(cmd *cobra.Command, podmanConfig *entities.PodmanConfig) {
|
||||
pFlags.StringVar(&podmanConfig.ConmonPath, conmonFlagName, "", "Path of the conmon binary")
|
||||
_ = cmd.RegisterFlagCompletionFunc(conmonFlagName, completion.AutocompleteDefault)
|
||||
|
||||
// TODO (5.0): remove this option with the next major release after https://github.com/containers/podman/issues/18560 was implemented
|
||||
networkCmdPathFlagName := "network-cmd-path"
|
||||
pFlags.StringVar(&podmanConfig.ContainersConf.Engine.NetworkCmdPath, networkCmdPathFlagName, podmanConfig.ContainersConfDefaultsRO.Engine.NetworkCmdPath, "Path to the command for configuring the network")
|
||||
_ = cmd.RegisterFlagCompletionFunc(networkCmdPathFlagName, completion.AutocompleteDefault)
|
||||
|
@ -83,7 +83,7 @@ Remote connections use local containers.conf for default.
|
||||
Log messages at and above specified level: debug, info, warn, error, fatal or panic (default: "warn")
|
||||
|
||||
#### **--network-cmd-path**=*path*
|
||||
Path to the command binary to use for setting up a network. It is currently only used for setting up a slirp4netns(1) or pasta(1) network. If "" is used then the binary is looked up using the $PATH environment variable.
|
||||
Path to the `slirp4netns(1)` command binary to use for setting up a slirp4netns network. If "" is used then the binary is looked up using the $PATH environment variable.
|
||||
|
||||
#### **--network-config-dir**=*directory*
|
||||
|
||||
|
Reference in New Issue
Block a user