Add libvirt provider parameters to Vagrant (#28102)

Co-authored-by: Filippo Giunchedi <filippo@debian.org>
This commit is contained in:
Filippo Giunchedi 2024-06-04 22:28:05 +02:00 committed by GitHub
parent 7d9a8c9596
commit e5984c95eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

6
Vagrantfile vendored
View File

@ -151,6 +151,12 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
vb.customize ["modifyvm", :id, "--nictype2", "virtio"] vb.customize ["modifyvm", :id, "--nictype2", "virtio"]
end end
config.vm.provider :libvirt do |libvirt|
libvirt.cpus = 3
libvirt.memory = 8192
end
# This uses the vagrant-hostsupdater plugin, and lets you # This uses the vagrant-hostsupdater plugin, and lets you
# access the development site at http://mastodon.local. # access the development site at http://mastodon.local.
# If you change it, also change it in .env.vagrant before provisioning # If you change it, also change it in .env.vagrant before provisioning