Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Vagrant box list details. How to check from which box (url) is box added to vagrant

Tags:

vagrant

I have several vagrant boxes added with command vagrant box add test_box /home/user/test.box. Added several different boxes.

When I do vagrant box list I just get a name of the box and provider, but no details from where it was added/imported.

How can I check details of added boxes?

like image 396
titus Avatar asked Nov 28 '13 09:11

titus


2 Answers

As Emyl pointed out, right now that information is not kept around after the box has been downloaded but 1.4 will have support for that. I've sent a Pull Request a while ago that has been merged and will make into the next release!

Starting with 1.4.0, you should be able to find out what date the box was added and from what URL it came from with vagrant box list -i :)

Here's how it will look like:

test-box-url               (lxc)
  - url: http://bit.ly/vagrant-lxc-raring64-2013-10-23
  - downloaded_at: 2013-11-29 12:24:34 UTC

UPDATE: The information above is no longer applicable after the Vagrant 1.5 release which adds support for boxes from https://atlas.hashicorp.com/

like image 197
fgrehm Avatar answered Oct 18 '22 03:10

fgrehm


Boxes metadata is stored under ~/.vagrant.d directory, but such information (url from which the box has been downloaded) is not kept anywhere.

like image 3
Emyl Avatar answered Oct 18 '22 03:10

Emyl