mirror of
https://github.com/khuedoan/homelab.git
synced 2025-01-08 14:33:52 +07:00
24 lines
465 B
Ruby
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
|