Hello

You can domething like this in a script.

#!/usr/bin/env bash

mv /etc/sysctl.conf /etc/sysctl.conf.ori
grep -v net.ipv6.conf /etc/sysctl.conf.ori | tee /etc/sysctl.conf
echo "net.ipv6.conf.all.disable_ipv6=1" | tee -a /etc/sysctl.conf
echo "net.ipv6.conf.default.disable_ipv6=1" | tee -a /etc/sysctl.conf

sysctl -p


Alvaro.

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vagrant-up/CAHqq0exGdeXo8NHEv-q%2BFQUHcHsB33xmz8Wn_jBfT4%2BUS8qx7A%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to