diff --git a/tests/setup_gate.sh b/tests/setup_gate.sh index 43b4e41b85..9bb7b5f95e 100755 --- a/tests/setup_gate.sh +++ b/tests/setup_gate.sh @@ -11,4 +11,8 @@ group_str="jenkins ALL=(:dockerroot) NOPASSWD: ALL" sudo grep -x "$group_str" /etc/sudoers > /dev/null || sudo bash -c "echo \"$group_str\" >> /etc/sudoers" sudo chown root:dockerroot /var/run/docker.sock +# disable ipv6 until we're sure routes to fedora mirrors work properly +sudo sh -c 'echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl.conf' +sudo /usr/sbin/sysctl -p + echo "Completed $0."