Reputation: 9024
I manually downloaded laravel homestead box from atlas and the version i downloaded is 0.2.6 of laravel/homestead.
Then i git clone https://github.com/laravel/homestead.git Homestead
.
After doing the other necessary configurations when i am trying to run vagrant up from Homestead directory, it is starting to download the laravel/homestead box again with version 0.4.0.
My internet is slow and i cannot afford to download the box again. Is there any way i can tell Homestead to use the existing homestead box already exist in my ~/.vagrant.d directory.
Thanks
Upvotes: 2
Views: 619
Reputation: 2904
Another solution for this as shown https://abbasharoon.me/laravel-homestead-windows-extremely-easy/ and here http://laravel.io/forum/05-06-2015-how-to-download-vagrant-box-manually is to add the metadata_url file. Without that file, Vagrant will try to download the homestead even after installing the manually downloaded homestead box. To add the metadata_url, follow the following steps:
Upvotes: 0
Reputation: 7656
Try this:
Locate this homestead.rb
at your drive, mine is at C:\Users\SuperComputer\Homestead\scripts\homestead.rb
Edit it using text editor.
try find this word syntax:
config.vm.box_version = settings["version"] ||= ">= 0"
change it to
config.vm.box_version = settings["version"] ||= "= 0.2.6"
Upvotes: 2