diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2019-03-11 07:56:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-11 07:56:50 -0700 |
commit | 8656d2d887b32c320b4dd453314ce95cd9cad6a5 (patch) | |
tree | d00e9aa4c6b4eb465d880c1fdd90bb13ac2210a1 /cmd/podman/libpodruntime/runtime.go | |
parent | 9b42577c322b74906d4dfa64926d9f187e2e2976 (diff) | |
parent | e02393ba700907ae193190f7335d3f2ec83c442a (diff) | |
download | podman-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/libpodruntime/runtime.go')
-rw-r--r-- | cmd/podman/libpodruntime/runtime.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/podman/libpodruntime/runtime.go b/cmd/podman/libpodruntime/runtime.go index 2b96f0c20..3faea493c 100644 --- a/cmd/podman/libpodruntime/runtime.go +++ b/cmd/podman/libpodruntime/runtime.go @@ -86,6 +86,9 @@ func getRuntime(c *cliconfig.PodmanCommand, renumber bool) (*libpod.Runtime, err if c.Flags().Changed("tmpdir") { options = append(options, libpod.WithTmpDir(c.GlobalFlags.TmpDir)) } + if c.Flags().Changed("network-cmd-path") { + options = append(options, libpod.WithNetworkCmdPath(c.GlobalFlags.NetworkCmdPath)) + } if c.Flags().Changed("cgroup-manager") { options = append(options, libpod.WithCgroupManager(c.GlobalFlags.CGroupManager)) |