mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-07-02 08:18:05 +00:00
Disable swap in vagrant vms
This commit is contained in:
Vendored
+3
@@ -129,6 +129,9 @@ Vagrant.configure("2") do |config|
|
||||
config.vm.provision "shell", inline: "service network restart", run: "always"
|
||||
end
|
||||
|
||||
# Disable swap for each vm
|
||||
config.vm.provision "shell", inline: "swapoff -a"
|
||||
|
||||
# Only execute once the Ansible provisioner,
|
||||
# when all the machines are up and ready.
|
||||
if i == $num_instances
|
||||
|
||||
Reference in New Issue
Block a user