brew install --cask virtualbox
brew install --cask vagrant
vagrant init ubuntu/jammy64
vagrant up
vagrant halt
vagrant destroy
# ssh into the VM
vagrant ssh
vagrant ssh-config
vagrant provision
Default username and password is "vagrant"
config.vm.provision "shell", path: "install-desktop.sh"