mirror of
https://github.com/containers/podman
synced 2024-10-19 16:54:07 +00:00
Change default directory for CNI plugins
Signed-off-by: Matthew Heon <matthew.heon@gmail.com> Closes: #109 Approved by: mheon
This commit is contained in:
parent
21bcd770db
commit
7981b7636b
|
@ -75,8 +75,8 @@ RUN set -x \
|
|||
&& cd "$GOPATH/src/github.com/containernetworking/plugins" \
|
||||
&& git checkout -q "$CNI_COMMIT" \
|
||||
&& ./build.sh \
|
||||
&& mkdir -p /opt/cni/bin \
|
||||
&& cp bin/* /opt/cni/bin/ \
|
||||
&& mkdir -p /usr/libexec/cni \
|
||||
&& cp bin/* /usr/libexec/cni \
|
||||
&& rm -rf "$GOPATH"
|
||||
|
||||
# Install custom CNI bridge test plugin
|
||||
|
|
|
@ -75,7 +75,7 @@ var (
|
|||
MaxLogSize: -1,
|
||||
NoPivotRoot: false,
|
||||
CNIConfigDir: "/etc/cni/net.d/",
|
||||
CNIPluginDir: "/opt/cni/bin/",
|
||||
CNIPluginDir: "/usr/libexec/cni",
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue