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.
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.
file:
url inconfig.vm.box_url
. If that doesn't make sense, please post yourVagrantfile
. – BeelAnswer
I'll accept it. – Hpatoio