summaryrefslogtreecommitdiffstats
path: root/src/vagrant/kubeadm_multus/multus/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/vagrant/kubeadm_multus/multus/build.sh')
-rw-r--r--src/vagrant/kubeadm_multus/multus/build.sh7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/vagrant/kubeadm_multus/multus/build.sh b/src/vagrant/kubeadm_multus/multus/build.sh
new file mode 100644
index 0000000..526b0b7
--- /dev/null
+++ b/src/vagrant/kubeadm_multus/multus/build.sh
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+wget -qO- https://storage.googleapis.com/golang/go1.8.3.linux-amd64.tar.gz | sudo tar -C /usr/local -xz
+echo 'export GOPATH=/go; export PATH=/usr/local/go/bin:$GOPATH/bin:$PATH' >> ~/.bashrc
+export GOPATH=/go; export PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
+git clone https://github.com/Intel-Corp/multus-cni
+cd multus-cni; bash ./build