From 5038eb8f6c4fb632738b2dc154fab74e06d3e1ae Mon Sep 17 00:00:00 2001 From: Dennis Marttinen Date: Fri, 17 Jul 2020 12:51:45 +0300 Subject: [PATCH] Create /etc/cni/net.d if it doesn't exist Signed-off-by: Dennis Marttinen --- tools/ignite-flannel.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/ignite-flannel.sh b/tools/ignite-flannel.sh index beb0b426d..ecd656f03 100755 --- a/tools/ignite-flannel.sh +++ b/tools/ignite-flannel.sh @@ -161,6 +161,7 @@ run_init() { rm -f /etc/cni/net.d/10-ignite.conflist # Write the Flannel conflist + mkdir -p /etc/cni/net.d echo "$FLANNEL_CONFLIST" > /etc/cni/net.d/10-flannel.conflist } @@ -186,6 +187,7 @@ run_join() { rm -f /etc/cni/net.d/10-ignite.conflist # Write the Flannel conflist + mkdir -p /etc/cni/net.d echo "$FLANNEL_CONFLIST" > /etc/cni/net.d/10-flannel.conflist }