Try this on /etc/rc.local
ping -c4 10.1.10.1
if [ $? -eq 0 ]; then
route add default gw 10.1.10.1
route del default gw 10.0.2.2
else
echo "couldn't ping new gw.. skipping"
fi
--
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].
For more options, visit https://groups.google.com/d/optout.
