From d0fcc48c0aa577608a6bccb854c3f658bf2e8650 Mon Sep 17 00:00:00 2001 From: David Corking Date: Fri, 13 Jun 2014 08:28:08 +0100 Subject: [PATCH] Restore commit "vagrant file with some networking update" This reverts commit 426c57755ba6eda81546604261a4d28cf967277c. Original was commit 15d5749d6f1f9b678db8c7aefc4a7acc8fd88af4 Author: Sam Joseph Date: Fri Jun 6 20:57:32 2014 +0100 It allows a Vagrant VirtualBox host machine to move from one network to another without restarting the Local Support guest. http://stackoverflow.com/questions/18457306/enable-internet-access-inside-vagrant --- Vagrantfile | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/Vagrantfile b/Vagrantfile index 87efff8fa..17a5f5bc8 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -8,4 +8,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.provision "shell", path: "vagrant-ubuntu-install.sh", privileged: false config.vm.network :forwarded_port, host: 3003, guest: 3000 config.vm.synced_folder ".", "/LocalSupport" + + config.vm.provider "virtualbox" do |v| + v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] + v.customize ["modifyvm", :id, "--natdnsproxy1", "on"] + end end