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:
Matthew Heon 2017-12-13 17:47:42 -05:00 committed by Atomic Bot
parent 21bcd770db
commit 7981b7636b
2 changed files with 3 additions and 3 deletions

View file

@ -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

View file

@ -75,7 +75,7 @@ var (
MaxLogSize: -1,
NoPivotRoot: false,
CNIConfigDir: "/etc/cni/net.d/",
CNIPluginDir: "/opt/cni/bin/",
CNIPluginDir: "/usr/libexec/cni",
}
)