You could potentially run a test ping inside the ruby before the vagrant 
section against the atlas.hashicorp.com website and if you can't reach it 
simply exit instead of going on.

On Friday, April 1, 2016 at 3:39:00 PM UTC-5, Daryl Wood wrote:
>
> Hi,
>
> I want the vagrantfile script to fail early if the box cannot be 
> downloaded due to a proxy or firewall.
>
> What's the best way to make that happen?
>
> Thanks
>

-- 
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/ac6f4679-1106-4cc1-b43a-8e9bfcda4bae%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to