diff --git a/Vagrantfile b/Vagrantfile index 9aa2b87..f50386c 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,6 +1,11 @@ # -*- mode: ruby -*- # vi: set ft=ruby : +# VirtualBox is the only supported provider. libvirt/KVM is deliberately not +# used here -- it cannot share AMD-V with VirtualBox on the same host, and the +# other Forail environments are VirtualBox. +ENV["VAGRANT_DEFAULT_PROVIDER"] ||= "virtualbox" + Vagrant.configure("2") do |config| config.vm.box = "bento/ubuntu-24.04" config.vm.hostname = "awx-build" @@ -19,11 +24,6 @@ Vagrant.configure("2") do |config| vb.cpus = 4 end - config.vm.provider "libvirt" do |lv| - lv.memory = 8192 - lv.cpus = 4 - end - # Sync AWX source into VM config.vm.synced_folder ".", "/awx_devel", type: "rsync", rsync__exclude: [".git/", "node_modules/", "forail/ui/build/", "forail/ui_next/build/", "*.pyc", "__pycache__/"]