mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-02-03 18:48:17 -03:30
Add in tests for Calico with dual-stack networking
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
211fdde742
commit
c2c97c36bc
6
Vagrantfile
vendored
6
Vagrantfile
vendored
@@ -205,6 +205,12 @@ Vagrant.configure("2") do |config|
|
||||
# Disable swap for each vm
|
||||
node.vm.provision "shell", inline: "swapoff -a"
|
||||
|
||||
# ubuntu1804 and ubuntu2004 have IPv6 explicitly disabled. This undoes that.
|
||||
if ["ubuntu1804", "ubuntu2004"].include? $os
|
||||
node.vm.provision "shell", inline: "rm -f /etc/modprobe.d/local.conf"
|
||||
node.vm.provision "shell", inline: "sed -i '/net.ipv6.conf.all.disable_ipv6/d' /etc/sysctl.d/99-sysctl.conf /etc/sysctl.conf"
|
||||
end
|
||||
|
||||
# Disable firewalld on oraclelinux/redhat vms
|
||||
if ["oraclelinux","oraclelinux8","rhel7","rhel8"].include? $os
|
||||
node.vm.provision "shell", inline: "systemctl stop firewalld; systemctl disable firewalld"
|
||||
|
||||
Reference in New Issue
Block a user