mirror of
https://github.com/containers/podman.git
synced 2025-05-30 15:15:20 +08:00
CNIPluginDir: check "/usr/lib/cni"
Also consider "/usr/lib/cni" as a potential directory for CNI plugins. On some distributions, e.g., on openSUSE, %{_libexecdir} evaluates to "/usr/lib". Signed-off-by: Valentin Rothberg <vrothberg@suse.com> Closes: #416 Approved by: mheon
This commit is contained in:

committed by
Atomic Bot

parent
afbb2a7f23
commit
2a59653bf3
@ -89,7 +89,7 @@ var (
|
||||
MaxLogSize: -1,
|
||||
NoPivotRoot: false,
|
||||
CNIConfigDir: "/etc/cni/net.d/",
|
||||
CNIPluginDir: []string{"/usr/libexec/cni", "/opt/cni/bin"},
|
||||
CNIPluginDir: []string{"/usr/libexec/cni", "/usr/lib/cni", "/opt/cni/bin"},
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user