Created
October 31, 2013 18:53
-
-
Save tmatilai/7254921 to your computer and use it in GitHub Desktop.
Use host's resolver (On OS X with VPN) for a VirtualBox Vagrant VM
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure('2') do |config| | |
# ... | |
config.vm.provider :virtualbox do |vbox| | |
vbox.customize ['modifyvm', :id, '--natdnshostresolver1', 'on'] | |
end | |
# ... | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment