I've downloaded the homestead box manually because of much slow downloading via terminal. But after adding the box, vagrant is not finding it and attempting to download again.
2 Answers
@FrédéricHenri Thanks. I found that the box was added directly instead of from a box catalog so vagrant try to check the updates and failed. So i simply just disable the check update.
config.vm.box_check_update = false
OR
For updates. I added metadata_url
file in laravel-VAGRANTSLASH-homestead
containing the url pointing to the box
https://vagrantcloud.com/laravel/homestead
This happens when we add box from file, Vagrant marks as it is version 0
by default.
Solution I found When I got same error I renamed the folder 0
to the corresponding version in my case it was 0.4.2
inside this path~/.vagrant.d/boxes/laravel-VAGRANTSLASH-homestead
. Then if you vagrant up
from homestead project you may get error. So you can add catalog file metadata_url
file. with url https://atlas.hashicorp.com/laravel/boxes/homestead in laravel-VAGRANTSLASH-homestead
directory.
ubuntu/trusty32
is stored in a directory$VAGRANT_HOME/boxes/ubuntu-VAGRANTSLASH-trusty32
. Try that pattern or choose slash-less name. – virgo47metadata_url
file to point to the box url ? and within the vbox folder, do you have ametadata.json
file – Frederic Henriconfig.vm.box_check_update = false
in your Vagrantfile – Frederic Henri