-
-
Save ijin82/a2126bd3c464907dbcdb1c4d4392c6a0 to your computer and use it in GitHub Desktop.
How to Download Vagrant Box Manually
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment