Created
October 11, 2011 01:30
-
-
Save mitchellh/1277049 to your computer and use it in GitHub Desktop.
Configure Vagrant VM to use Host DNS for VPN
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::Config.run do |config| | |
# ... | |
config.vm.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
end |
Unfortunately, this seems to not be working anymore, got the following error while trying to destroy my previous VM:
`There are errors in the configuration of this machine. Please fix
the following errors and try again:
vm:
- The following settings shouldn't exist: customize
`
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
work like a charm thanks