Vagrant Desktop (GUI-Enabled) Boxes

Vagrant Desktop (GUI-Enabled) Boxes

Last updated:

If you just started out using Vagrant to set up VirtualBox virtual machines and are surprised or disappointed that your VM opens up, initially, in headless (no GUI) mode, just edit yourVagrantfile so that it looks like this:

# stuff above
  config.vm.provider "virtualbox" do |vb|
     # Don't boot with headless mode
     vb.gui = true
     vb.name='my_vagrant_box'  
     # Use VBoxManage to customize the VM. For example to change memory:
     vb.memory = 1024
   end
# stuff below

Dialogue & Discussion