Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to Download Vagrant Box Manually
/* this is the box (and the version) that we want to download from: https://app.vagrantup.com/debian/boxes/jessie64 */
wget https://app.vagrantup.com/debian/boxes/jessie64/versions/8.9.0/providers/virtualbox.box -O debian-jessie64-8.9.0.box
/* add the box to vagrant */
vagrant box add debian/jessie64 debian-jessie64-8.9.0.box
/* update box version */
cd ~/.vagrant.d/boxes/debian-VAGRANTSLASH-jessie64/
mv 0 8.9.0
/* create metadata_url file */
echo -n "https://app.vagrantup.com/debian/boxes/jessie64" > metadata_url
/* show vagrant boxes */
vagrant box list
@leodotcloud
Copy link

leodotcloud commented Jun 30, 2019

Thank you!

Instructions for fusion:

wget https://vagrantcloud.com/hashicorp/boxes/precise64/versions/1.1.0/providers/vmware_fusion.box
# For some reason, the downloaded filename was set to an uuid
# mv <uuid> vmware_fusion.box
vagrant box add hashicorp/precise64 vmware_fusion.box
cd vagrant.d/boxes/hashicorp-VAGRANTSLASH-precise64
mv 0 1.1.0
echo -n "https://app.vagrantup.com/hashicorp/boxes/precise64" > metadata_url
vagrant box list

@kataya1
Copy link

kataya1 commented Apr 18, 2020

Thank you.
in case the download keeps getting interrupted
wget --tries=inf --continue <url> -O <outputfile>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment