This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Configure cluster CIDR | |
IPv4_CLUSTER_CIDR="10.1.0.0/16" | |
IPv6_CLUSTER_CIDR="" | |
# Require cgroup2 to be mounted | |
cgroup_hostroot="$(mount -t cgroup2 | head -1 | cut -d' ' -f3)" | |
if [ -z "$cgroup_hostroot" ]; then | |
echo "cgroup2 mount not found, fail" | |
exit 1 | |
fi |