Unverified Commit 9397a9a4 authored by James Rasell's avatar James Rasell Committed by GitHub
Browse files

Merge pull request #11107 from hashicorp/f-add-cni-config-dir-install-script

scripts: create CNI config directory within Vagrant machine.
Showing with 2 additions and 1 deletion
+2 -1
......@@ -5,9 +5,10 @@ set -o errexit
VERSION="v1.0.0"
DOWNLOAD=https://github.com/containernetworking/plugins/releases/download/${VERSION}/cni-plugins-linux-amd64-${VERSION}.tgz
TARGET_DIR=/opt/cni/bin
CONFIG_DIR=/opt/cni/config
function install_cni() {
mkdir -p ${TARGET_DIR}
mkdir -p ${TARGET_DIR} ${CONFIG_DIR}
if [[ -e ${TARGET_DIR}/${VERSION} ]] ; then
return
fi
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment