summaryrefslogtreecommitdiff
path: root/libpod
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-07-30 16:33:48 +0200
committerGitHub <noreply@github.com>2019-07-30 16:33:48 +0200
commit1a008958d42644aaf20e35a79463d9eea366ef55 (patch)
treef7afb8f6cebe488aea7a724164967de6d4db0d76 /libpod
parent4196a594521d89fa057602d9cb176726ee9db614 (diff)
parent52ae51c79fc8a373c37a922ad237229400dbd968 (diff)
downloadpodman-1a008958d42644aaf20e35a79463d9eea366ef55.tar.gz
podman-1a008958d42644aaf20e35a79463d9eea366ef55.tar.bz2
podman-1a008958d42644aaf20e35a79463d9eea366ef55.zip
Merge pull request #3661 from openSUSE/nixos-friendly-config
Update libpod.conf to be more friendly to NixOS
Diffstat (limited to 'libpod')
-rw-r--r--libpod/runtime.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpod/runtime.go b/libpod/runtime.go
index 28958e932..bb6bfbfcc 100644
--- a/libpod/runtime.go
+++ b/libpod/runtime.go
@@ -293,6 +293,7 @@ func defaultRuntimeConfig() (RuntimeConfig, error) {
"/sbin/runc",
"/bin/runc",
"/usr/lib/cri-o-runc/sbin/runc",
+ "/run/current-system/sw/bin/runc",
},
},
ConmonPath: []string{
@@ -302,6 +303,7 @@ func defaultRuntimeConfig() (RuntimeConfig, error) {
"/usr/sbin/conmon",
"/usr/local/bin/conmon",
"/usr/local/sbin/conmon",
+ "/run/current-system/sw/bin/conmon",
},
ConmonEnvVars: []string{
"PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin",