Wagrant disables guest add-ons

I would like to disable VirtualBox guest add-ons. I do not use them to synchronize folders, etc., And for the mailbox I'm working on (for example, centos / 7), they still can not build. Is there any way to tell the strollers not to try to set them in vagrant up?

+12
source share
2 answers

In your Vagrantfile add the following parameter

Vagrant.configure("2") do |config|
    ....
    config.vbguest.auto_update = false
    ....
end
+19
source

Users may not have the vagrant-vbguest plugin , and you can use it conditionally to avoid confusion.

Vagrant.configure("2") do |config|
  ....
  if Vagrant.has_plugin?("vagrant-vbguest")
    config.vbguest.auto_update = false
  end
  ....
end
+6
source

All Articles