Before I run vagrant up I have to ensure that I'm online. This was not the case with the previous versions.
==> default: Checking if box 'ubuntu/trusty64' is up to date...
An error occurred while downloading the remote file. The error
message, if any, is reproduced below. Please fix this error and try
again.
Couldn't resolve host 'vagrantcloud.com'
I've found the issue to be the latest version of Vagrant checking vagrant cloud to see if the box is up to date. This may be a very useful feature but I certainly don't want to check this on each vagrant up.
I suggest we set config.vm.box_check_update = false and allow power users to update their box with this command:
vagrant box update
Commented here, re checking network and running the update check if we have net: https://github.com/dwainm/varying-woo-vagrant/commit/6e3ebb0fc53258f5e0b246ec192dceb6dfaeb5d2
@simonwheatley i'll try to find a way that would satisfy this by checking for internet connection before checking if the box is up to date.
@simonwheatley , I've included an internet connection check before disabling or enabling the box update check . This now happens in the background :)
@dwainm what version of Vagrant are you on? It appears that this was resolved upstream in 1.5.3 via vagrant:5f12126d from https://github.com/mitchellh/vagrant/issues/3391
@jeremyfelt , you're right. I'm running version 1.5.2 and haven't checked out 1.5.3 yet. Thanks for letting me know :)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
I've found the issue to be the latest version of Vagrant checking vagrant cloud to see if the box is up to date. This may be a very useful feature but I certainly don't want to check this on each vagrant up.
I suggest we set
config.vm.box_check_update = falseand allow power users to update their box with this command:vagrant box update