Is it possible to download a Vagrant box as a file from http://vagrantcloud.com ?
I've a PC with a very slow internet connection and I want add the box, downloaded from another pc, from the filesystem.
Yes you can. Vagrant cloud is currently managed by Atlas. To download a file you have to add version and provider in the URL. For example for downloading precise64 First you need its URL which is https://atlas.hashicorp.com/ubuntu/boxes/trusty64
then you have to add version and provider afterwards, for our example the download URL would be.
https://atlas.hashicorp.com/ubuntu/boxes/trusty64/versions/14.04/providers/virtualbox.box
Then you have to add it locally from your vagrant file.
Yes, you can download virtualbox.box from
https://app.vagrantup.com/laravel/boxes/homestead/versions/6.4.0/providers/virtualbox.box
You can change the version of homestead box. Current version: 6.4.0.
Check for the latest version here: https://app.vagrantup.com/laravel/boxes/homestead
After downloading the box, rename it to virtualbox.box or whatever name you like.
Don't forget to include the .box extension.
Add the downloaded homestead box to vagrant:
vagrant box add laravel/homestead /path/to/virtualbox.box
Change the path to where you stored your downloaded homestead box.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With