Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions sunbeam-python/sunbeam/commands/prepare_node.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,14 @@
/etc/environment
done
fi

# Ensure there is no existing/leftover multus config in /etc/cni
# from testing amphora loadbalancer
# These will prevent k8s starting the k8s load balancer if present
if [[ $(sudo find /etc/cni -name '*multus*') ]]; then
echo 'ERROR: existing CNI config detected in /etc/cni'
exit 1
fi
"""

COMMON_TEMPLATE = f"""
Expand Down
Loading