Skip to content

Commit

Permalink
Improve network performace with customizing virtualbox config.
Browse files Browse the repository at this point in the history
  • Loading branch information
ziguzagu committed Apr 29, 2014
1 parent 0a07441 commit 2cbdacf
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -110,4 +110,11 @@ Vagrant.configure("2") do |config|
# chef-validator, unless you changed the configuration.
#
# chef.validation_client_name = "ORGNAME-validator"

config.vm.provider "virtualbox" do |v|
# Improve network
# see also https://github.com/mitchellh/vagrant/issues/1807
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
v.customize ["modifyvm", :id, "--natdnsproxy1", "on"]
end
end

0 comments on commit 2cbdacf

Please sign in to comment.