24 lines
571 B
Ruby
24 lines
571 B
Ruby
|
VAGRANTFILE_API_VERSION = "2"
|
||
|
|
||
|
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
|
||
|
config.vm.box = "ubuntu/jammy64"
|
||
|
|
||
|
config.vm.network "private_network", ip: "10.0.0.18",
|
||
|
virtualbox__intnet: true
|
||
|
|
||
|
config.vm.provider "virtualbox" do |vb|
|
||
|
vb.memory = 4096
|
||
|
end
|
||
|
|
||
|
config.vm.synced_folder "salt/srv/", "/srv/"
|
||
|
|
||
|
config.vm.provision :salt do |salt|
|
||
|
salt.minion_config = "salt/etc/salt/minion"
|
||
|
salt.run_highstate = true
|
||
|
salt.bootstrap_options = "-P -c /tmp"
|
||
|
salt.verbose = true
|
||
|
salt.log_level = "info"
|
||
|
salt.colorize = true
|
||
|
end
|
||
|
end
|