Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Which Packages Are in Vagrant Base Boxes? - I Need A Desktop Environment

Tags:

vagrant

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?

like image 991
opticyclic Avatar asked Jan 28 '14 14:01

opticyclic


People also ask

What is box in vagrant?

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.

How do I update my vagrant box?

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.


1 Answers

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/

like image 87
Matt Cooper Avatar answered Oct 01 '22 19:10

Matt Cooper