Skip to content

Commit de6e714

Browse files
committed
Merge pull request #4107 from krancour/too-many-redirects
fix(vagrant): fix too many redirects problem
2 parents 8135ead + 37cd5ab commit de6e714

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

Vagrantfile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,12 @@ Vagrant.configure("2") do |config|
152152
ip = "172.17.8.#{i+99}"
153153
config.vm.network :private_network, ip: ip
154154

155+
# Use the same nameserver as the host machine in order to avoid the "too many redirects" problem.
156+
config.vm.provider :virtualbox do |vb|
157+
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "off"]
158+
vb.customize ["modifyvm", :id, "--natdnsproxy1", "off"]
159+
end
160+
155161
# Uncomment below to enable NFS for sharing the host machine into the coreos-vagrant VM.
156162
#config.vm.synced_folder ".", "/home/core/share", id: "core", :nfs => true, :mount_options => ['nolock,vers=3,udp']
157163
$shared_folders.each_with_index do |(host_folder, guest_folder), index|

0 commit comments

Comments
 (0)