Skip to content
This repository has been archived by the owner on Dec 7, 2023. It is now read-only.

Commit

Permalink
Create /etc/cni/net.d if it doesn't exist
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Marttinen <dennis@weave.works>
  • Loading branch information
twelho committed Jul 17, 2020
1 parent 4f8c9af commit 3865897
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tools/ignite-flannel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand All @@ -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
}

Expand Down

0 comments on commit 3865897

Please sign in to comment.