Skip to content

Instantly share code, notes, and snippets.

@firmanelhakim
Last active March 5, 2024 15:22
Show Gist options
  • Star 17 You must be signed in to star a gist
  • Fork 5 You must be signed in to fork a gist
  • Save firmanelhakim/77b6ee7fb50883155eeefc9e0dc10b9b to your computer and use it in GitHub Desktop.
Save firmanelhakim/77b6ee7fb50883155eeefc9e0dc10b9b to your computer and use it in GitHub Desktop.
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
@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