1
0
mirror of https://github.com/certbot/certbot.git synced 2026-01-26 07:41:33 +03:00

Vagrantfile: enable NAT engine to use host's resolver

VirualBox fails to resolve external hosts on some machines. Handle cases
when the host is behind a private network by making the NAT engine use the
host's resolver mechanisms to handle DNS requests.
This commit is contained in:
Greg Osuri
2015-12-15 19:09:23 -08:00
parent c806b21e77
commit f5ef0b01a8

4
Vagrantfile vendored
View File

@@ -21,6 +21,10 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# Cannot allocate memory" when running
# letsencrypt.client.tests.display.util_test.NcursesDisplayTest
v.memory = 1024
# Handle cases when the host is behind a private network by making the
# NAT engine use the host's resolver mechanisms to handle DNS requests.
v.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
end
end