summaryrefslogtreecommitdiffstats
path: root/src/cni/ovsdpdk/install_cni.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/cni/ovsdpdk/install_cni.sh')
-rw-r--r--src/cni/ovsdpdk/install_cni.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/cni/ovsdpdk/install_cni.sh b/src/cni/ovsdpdk/install_cni.sh
new file mode 100644
index 0000000..8f5b78a
--- /dev/null
+++ b/src/cni/ovsdpdk/install_cni.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+set -ex
+cp /cni/ovsdpdk /opt/cni/bin
+cp /cni/setup_ovsdpdk.sh /opt/cni/bin
+cp /cni/teardown_ovsdpdk.sh /opt/cni/bin
+cp /etc/kube-ovsdpdk/cni-conf.json /etc/cni/net.d/10-ovsdpdk.conf
+while true; do sleep 3600; done