khuedoan-homelab/Vagrantfile
2020-10-03 13:18:04 +07:00

24 lines
465 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "centos/8"
config.vm.provider "libvirt" do |libvirt|
libvirt.cpus = 4
libvirt.memory = 8192
libvirt.nested = true
end
config.vm.network :public_network,
:dev => "virbr0",
:mode => "bridge",
:type => "bridge"
config.disksize.size = '100GB'
config.vm.provision "ansible" do |ansible|
ansible.playbook = "playbook.yml"
end
end