diff --git a/test/scripts/test.sh b/test/scripts/test.sh index e2c2d89..23a2871 100755 --- a/test/scripts/test.sh +++ b/test/scripts/test.sh @@ -6,6 +6,11 @@ set -euxo pipefail # It expects all required packages (kube*, cri-o) are already installed # It is referenced from ../deb/Vagrantfile and ../rpm/Vagrantfile +# Disable IPv6 for CI +CNI_CONFIG=/etc/cni/net.d/10-crio-bridge.conflist +jq 'del(.plugins[0].ipam.routes[1], .plugins[0].ipam.ranges[1])' $CNI_CONFIG >tmp +mv tmp $CNI_CONFIG + systemctl start crio # Disable swap