46e93e5d77
I was running out of RAM doing builds in the VM with just 512MB. I think for single host machines, we can assume a lot of RAM. If one is doing multi-node Vagrant that's a different thing. Also update the comment at the top. Closes: #313 Approved by: jlebon
22 lines
606 B
Ruby
22 lines
606 B
Ruby
# vi: set ft=ruby :
|
|
|
|
# See `tests/vmcheck/README.md` for more information on this.
|
|
|
|
Vagrant.configure(2) do |config|
|
|
config.vm.box = "centos/atomic-host"
|
|
config.vm.hostname = "centosah-dev"
|
|
|
|
config.vm.provider "libvirt" do |libvirt, override|
|
|
libvirt.cpus = 2
|
|
libvirt.memory = 2048
|
|
libvirt.driver = 'kvm'
|
|
end
|
|
|
|
config.vm.provision "ansible" do |ansible|
|
|
ansible.playbook = "tests/vmcheck/setup.yml"
|
|
ansible.host_key_checking = false
|
|
ansible.extra_vars = { ansible_ssh_user: 'vagrant' }
|
|
ansible.raw_ssh_args = ['-o ControlMaster=no']
|
|
end
|
|
end
|