Manually download vagrant box file and create a virtual machine

For some reason, the place i am working is very slow pulling vagrant box file, so i have to manually download it using some other way before creating vagrant init file.

1. Download and install vagrant

2. Find the box file location from “https://app.vagrantup.com/boxes/search”. For example, if the box file location is

https://app.vagrantup.com/debian/boxes/jessie64/versions/8.11.0

Its actual download location will be

https://app.vagrantup.com/debian/boxes/jessie64/versions/8.11.0/providers/virtualbox.box

3.  {url} is the saved box physical location on hard drive.

#This will also keep a copy of box file in VAGRANT_HOME, need to change it if run out of space.

$ vagrant box add {title} {url}
$ vagrant init {title}

4. Go to virtual box, file – preferences – change default machine folder.

5. $ vagrant up

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *