0

I build WordPress websites with Roots which creates a VirtualBox and configures it with Vagrant. One of the sites, when I execute vagrant up causes VirtualBox (Mac) to open and remain open. While all other projects do not.

Before I sift through the Roots codebase I was wondering if anyone knows any reasons this would occur?

Spencer Hill
  • 1,043
  • 2
  • 15
  • 38

1 Answers1

1

VirtualBox will open if you request the GUI to be opened. You'll have something like below in your Vagrantfile:

...
config.vm.provider "virtualbox" do |v|
  ...
  vb.gui = true
  ...
end
...

You can refer to the [documentation].(https://www.vagrantup.com/docs/virtualbox/configuration.html#gui-vs-headless)

Spencer Hill
  • 1,043
  • 2
  • 15
  • 38
Frederic Henri
  • 51,761
  • 10
  • 113
  • 139