From 4020182818dd8914e6df4d88bbf3fbc8bee00eee Mon Sep 17 00:00:00 2001 From: Sascha Grunert Date: Wed, 13 Nov 2024 11:50:54 +0100 Subject: [PATCH] Disable IPv6 in CI Signed-off-by: Sascha Grunert --- test/scripts/test.sh | 5 +++++ 1 file changed, 5 insertions(+) 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