From 8fddc1cc804dab6cfef7fb274b08b3c115272d29 Mon Sep 17 00:00:00 2001 From: Dmitry Demeshchuk Date: Thu, 5 Sep 2013 21:05:23 -0700 Subject: [PATCH] Improve network performance for VirtualBox Without those lines, VitrualBox machines are being very slow with all network operations (tested only in OS X Lion, but they are supposed to work everywhere). See https://github.com/mitchellh/vagrant/issues/1807 Upstream-commit: e5239b98598ece4287c1088e95a2eaed585d2da4 Component: engine --- components/engine/Vagrantfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/components/engine/Vagrantfile b/components/engine/Vagrantfile index 85af1280a2..548ede086f 100644 --- a/components/engine/Vagrantfile +++ b/components/engine/Vagrantfile @@ -76,6 +76,8 @@ Vagrant::VERSION >= "1.1.0" and Vagrant.configure("2") do |config| config.vm.provider :virtualbox do |vb| config.vm.box = BOX_NAME config.vm.box_url = BOX_URI + vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] + vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"] end end