📦 Debian Vagrant box with Vagrant and VirtualBox for nested virtualization.
This project uses dmotte/vagrant-ansiblebox as base box.
📦 This box is also on Vagrant Cloud as
dmotte/vagrantbox.
See https://github.com/dmotte/misc/blob/main/examples/vagrant-ansible-provisioner for inspiration on how you could use this box.
Remember to give your VM a decent amount of RAM and CPU, because it has to run other VMs inside.
config.vm.provider "virtualbox" do |vb|
vb.memory = 8192
vb.cpus = 8
endIf you want to be able to access the VirtualBox GUI, you must set the Vagrant X11 forwarding flag:
config.ssh.forward_x11 = trueand also install the xauth package inside the VM:
config.vm.provision "shell", inline: <<-SHELL
apt-get update; apt-get install -y xauth
SHELL