From f8693074a36308deddc4b92bbfbbbe09ad537698 Mon Sep 17 00:00:00 2001 From: Bryan Boreham Date: Mon, 14 Nov 2016 10:00:37 +0000 Subject: [PATCH] Move CNI config file to the end of launch script So something waiting for the config (e.g. Kubernetes) doesn't try to talk to Weave before then (this only helps on first install, but that tends to be when things are busiest). --- prog/weave-kube/launch.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/prog/weave-kube/launch.sh b/prog/weave-kube/launch.sh index 0bb9dcd9..ad7ddef9 100755 --- a/prog/weave-kube/launch.sh +++ b/prog/weave-kube/launch.sh @@ -18,17 +18,6 @@ fi echo 1 > /proc/sys/net/bridge/bridge-nf-call-iptables -# Create CNI config, if not already there -if [ ! -f /etc/cni/net.d/10-weave.conf ] ; then - mkdir -p /etc/cni/net.d - cat > /etc/cni/net.d/10-weave.conf < /etc/cni/net.d/10-weave.conf <