Add ubuntu paths
The packages in Lokesh's ppa that is currently used for podman puts the conmon and runc binaries in /usr/lib/crio/bin/conmon and /usr/lib/cri-o-runc/sbin/runc respectively. Signed-off-by: baude <bbaude@redhat.com> Closes: #406 Approved by: baude
This commit is contained in:
parent
6831db7f10
commit
9f7643c364
|
@ -94,12 +94,12 @@ var (
|
|||
)
|
||||
|
||||
func findConmonPath() string {
|
||||
paths := []string{"/usr/libexec/crio/conmon", "/usr/local/libexec/crio/conmon", "/usr/bin/conmon", "/usr/sbin/conmon"}
|
||||
paths := []string{"/usr/libexec/crio/conmon", "/usr/local/libexec/crio/conmon", "/usr/bin/conmon", "/usr/sbin/conmon", "/usr/lib/crio/bin/conmon"}
|
||||
return pathHelper(paths)
|
||||
}
|
||||
|
||||
func findRuncPath() string {
|
||||
paths := []string{"/usr/bin/runc", "/usr/sbin/runc", "/sbin/runc", "/bin/runc"}
|
||||
paths := []string{"/usr/bin/runc", "/usr/sbin/runc", "/sbin/runc", "/bin/runc", "/usr/lib/cri-o-runc/sbin/runc"}
|
||||
return pathHelper(paths)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue