How can I find out which packages are included in public vagrant base boxes without downloading them one by one and starting them up?
There is a list here http://www.vagrantbox.es/ but there is no info about them apart from the name and size.
I need one that already has a desktop environment included (KDE,Gnome,Xfce etc).
I don't really want to download a base then separately download/install the desktop using apt-get/yum etc. Creating my own base box from an existing one seems like a duplication of effort as surely someone has done this already.
Are there any public base boxes that already include a desktop environment?
A Vagrant Box is a clone of a base operating system image. Using a clone speeds up the launching and provisioning process. 1. Instead of using the init command above, you can simply download and add a box with the command: vagrant box add ubuntu/trusty64. This downloads the box and stores it locally.
Command: vagrant box update This command updates the box for the current Vagrant environment if there are updates available. The command can also update a specific box (outside of an active Vagrant environment), by specifying the --box flag. Note that updating the box will not update an already-running Vagrant machine.
The only way to see which packages are in the public vagrant boxes is to try and find the build scripts used to make them... most of the time they are on github.
Vagrant's main purpose is to run headless vm's so you will find the bases boxes are made to be as simple as possible, which allows customisation and makes the download size as small as possible.
This question describes how you could use a provisioner to customise a base box with a gui: Using vagrant to run virtual machines with desktop environment
If you don't want to go to the effort of customising a base vagrant box with a provisioner then it sounds like you might be better of skipping vagrant and just running a virtual box image directly... have a look here and see if there is anything that suits your needs better: http://virtualboximages.com/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With