toddlers/Vagrantfile
Nils Philippsen eeca086bff Upgrade Vagrant to F40
Signed-off-by: Nils Philippsen <nils@redhat.com>
2024-07-05 13:08:47 +02:00

32 lines
876 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "fedora/40-cloud-base"
# Create the toddlers dev box
config.vm.define "toddlers" do |toddlers|
toddlers.vm.host_name = "toddlers-dev.example.com"
toddlers.vm.provider :libvirt do |domain|
# Season to taste
domain.cpus = Etc.nprocessors
domain.cpu_mode = "host-passthrough"
domain.graphics_type = "spice"
# The unit tests use a lot of RAM.
domain.memory = 2048
domain.video_type = "qxl"
end
end
config.vm.synced_folder ".", "/vagrant", disabled: true
config.vm.synced_folder ".", "/home/vagrant/toddlers", type: "sshfs"
# bootstrap and run with ansible
config.vm.provision "ansible" do |ansible|
ansible.playbook = "ansible/playbook.yml"
end
end