Preview contents of vagrant box before installation.

19 views
Skip to first unread message

Wyatt

unread,
May 5, 2018, 5:41:18 PM5/5/18
to Vagrant
Is there a way to preview the contents of a vagrant box or install as a test only? 

Barring that, is there a way to review the installation logs after an install of a V box?

Thanks

Alvaro Miranda Aguilera

unread,
May 7, 2018, 3:41:40 AM5/7/18
to vagra...@googlegroups.com
hello

if there is no much documentation on vagrant cloud, then i would say is not much information you have available.

there is no installation logs after you do a vagrant up.


if a base box have more/less stuff, and the vagrantfile run scripts, you have partial view of what is happening

if time permits perhaps you can  create your own vagrant box and project in that way you reduce the number of unkowns.

Alvaro.

--
This mailing list is governed under the HashiCorp Community Guidelines - https://www.hashicorp.com/community-guidelines.html. Behavior in violation of those guidelines may result in your removal from this mailing list.
 
GitHub Issues: https://github.com/mitchellh/vagrant/issues
IRC: #vagrant on Freenode
---
You received this message because you are subscribed to the Google Groups "Vagrant" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vagrant-up+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vagrant-up/330c648f-2ac3-457a-8625-d9be3b2684d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Alvaro

Mário Costa

unread,
May 7, 2018, 5:02:59 AM5/7/18
to vagra...@googlegroups.com
Hi,

use "vagrant up --debug", to check for what's executed, if that's too much information, use different log level.
set VAGRANT_LOG=info
$ vagrant up
https://www.vagrantup.com/docs/other/debugging.html

If you want to avoid the extra work of crafting your own box, check the open source boxes from bento, they are linux only. For windows I've crafted my own, out of security concerns, and because there was no bento like boxes available.

You can audit the code that generates the boxes, and they are updated and release on a regular basis.

https://github.com/chef/bento

Vagrant bento boxes
https://app.vagrantup.com/bento

If you have high security requirements consider crafting your own.


Reply all
Reply to author
Forward
0 new messages