summaryrefslogtreecommitdiff
path: root/cmd/podman/main.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-03-11 07:56:50 -0700
committerGitHub <noreply@github.com>2019-03-11 07:56:50 -0700
commit8656d2d887b32c320b4dd453314ce95cd9cad6a5 (patch)
treed00e9aa4c6b4eb465d880c1fdd90bb13ac2210a1 /cmd/podman/main.go
parent9b42577c322b74906d4dfa64926d9f187e2e2976 (diff)
parente02393ba700907ae193190f7335d3f2ec83c442a (diff)
downloadpodman-8656d2d887b32c320b4dd453314ce95cd9cad6a5.tar.gz
podman-8656d2d887b32c320b4dd453314ce95cd9cad6a5.tar.bz2
podman-8656d2d887b32c320b4dd453314ce95cd9cad6a5.zip
Merge pull request #2538 from giuseppe/slirp4netns-path
libpod: allow to configure path to the slirp4netns binary
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r--cmd/podman/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index 7d4b650a9..3571f526e 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -104,6 +104,7 @@ func init() {
rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.CpuProfile, "cpu-profile", "", "Path for the cpu profiling results")
rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.Config, "config", "", "Path of a libpod config file detailing container server configuration options")
rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.ConmonPath, "conmon", "", "Path of the conmon binary")
+ rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.NetworkCmdPath, "network-cmd-path", "", "Path to the command for configuring the network")
rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.CniConfigDir, "cni-config-dir", "", "Path of the configuration directory for CNI networks")
rootCmd.PersistentFlags().StringVar(&MainGlobalOpts.DefaultMountsFile, "default-mounts-file", "", "Path to default mounts file")
rootCmd.PersistentFlags().MarkHidden("defaults-mount-file")