--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/5c10459b-6155-4273-aef2-557ce6117925%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
sudo sysctl -w net.ipv6.conf.all.disable_ipv6=1sudo sysctl -w net.ipv6.conf.default.disable_ipv6=1
v.customize ["modifyvm", :id, "--natdnsproxy1", "off" ]v.customize ["modifyvm", :id, "--natdnshostresolver1", "off" ]
try adding
options single-request-reopen
to your /etc/resolv.confRH tries both ipv4 and ipv6 resolve queries over the same socket, and the ipv6 can take some time to time out. The above option makes your system open a new connection for each request.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/64576a63-6c74-45bc-a4c4-9789b7dac4b1%40googlegroups.com.
config.trigger.before [:up, :suspend, :halt, :destroy] doinfo "Turning off ipv6"run_remote "bash /var/www/ipv6.sh"end
mv /etc/sysctl.conf /etc/sysctl.conf.origrep -v net.ipv6.conf /etc/sysctl.conf.ori | tee /etc/sysctl.confecho "net.ipv6.conf.all.disable_ipv6=1" | tee -a /etc/sysctl.confecho "net.ipv6.conf.default.disable_ipv6=1" | tee -a /etc/sysctl.conf
$script = <<SCRIPT
mv /etc/sysctl.conf /etc/sysctl.conf.origrep -v net.ipv6.conf /etc/sysctl.conf.ori | tee /etc/sysctl.confecho "net.ipv6.conf.all.disable_ipv6=1" | tee -a /etc/sysctl.confecho "net.ipv6.conf.default.disable_ipv6=1" | tee -a /etc/sysctl.conf
SCRIPT
config.vm.provision "shell", , run: "always", inline: $script
sudo mv /etc/sysctl.conf /etc/sysctl.conf.origrep -v net.ipv6.conf /etc/sysctl.conf.ori | sudo tee /etc/sysctl.confecho "net.ipv6.conf.all.disable_ipv6=1" | sudo tee -a /etc/sysctl.confecho "net.ipv6.conf.default.disable_ipv6=1" | sudo tee -a /etc/sysctl.conf
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/1E81FE7E-70C5-4A00-9495-8AD832E19FCB%40gmail.com.
For more options, visit https://groups.google.com/d/optout.
sudo echo "net.ipv6.conf.all.disable_ipv6=1" | tee -a /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6=1" | sudotee -a /etc/sysctl.conf
--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/1E81FE7E-70C5-4A00-9495-8AD832E19FCB%40gmail.com.
On Jul 25, 2017, at 3:48 PM, Torben Knerr <torben...@gmail.com> wrote:On you sudo problem: I assume you triedsudo echo "net.ipv6.conf.all.disable_ipv6=1" | tee -a /etc/sysctl.confWhere it should be:echo "net.ipv6.conf.all.disable_ipv6=1" | sudotee -a /etc/sysctl.confDoes that work?