summaryrefslogtreecommitdiff
path: root/libpod/runtime.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 /libpod/runtime.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 'libpod/runtime.go')
-rw-r--r--libpod/runtime.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 9667abfe6..535b6f41b 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -217,6 +217,8 @@ type RuntimeConfig struct {
EnablePortReservation bool `toml:"enable_port_reservation"`
// EnableLabeling indicates wether libpod will support container labeling
EnableLabeling bool `toml:"label"`
+ // NetworkCmdPath is the path to the slirp4netns binary
+ NetworkCmdPath string `toml:"network_cmd_path"`
// NumLocks is the number of locks to make available for containers and
// pods.