scottslowe-learning-tools/ubuntu-generic
Scott S. Lowe 23ad41fdee Change default box for VMware platforms
Begin the process of phasing out my personal Vagrant boxes in favor of better-maintained boxes. This involves changes to machines.yml and README.md for many projects in this repo.

Signed-off-by: Scott S. Lowe <scott.lowe@scottlowe.org>
2016-11-26 00:00:19 -07:00
..
machines.yml Change default box for VMware platforms 2016-11-26 00:00:19 -07:00
README.md Change default box for VMware platforms 2016-11-26 00:00:19 -07:00
Vagrantfile Shift to nested YAML data files 2016-11-09 23:24:47 -07:00

Generic Ubuntu 14.04 VM

These files were created to allow users to use Vagrant (http://www.vagrantup.com) to quickly and easily spin up a generic Ubuntu 14.04 64-bit VM. The configuration was tested using Vagrant 1.8.1 and 1.8.5, VMware Fusion 8.1.0 (with the Vagrant VMware plugin), and VirtualBox 5.1.

NOTE: There's really nothing special here; I created these files because I often had a need to quickly and easily spin up a generic Ubuntu VM for some purpose (building a package or testing a command). I'm including them here just for the sake of completeness.

Contents

  • machines.yml: This YAML file contains a list of VM definitions and associated configuration data. It is referenced by Vagrantfile when Vagrant instantiates the VMs.

  • README.md: This file you're currently reading.

  • Vagrantfile: This file is used by Vagrant to spin up the virtual machines. This file is fairly extensively commented to help explain what's happening. You should be able to use this file unchanged; all the VM configuration options are stored outside this file.

Instructions

These instructions assume you've already installed your virtualization provider (VMware Fusion/Workstation or VirtualBox), Vagrant, and any necessary plugins (such as the Vagrant VMware plugin). Please refer to the documentation for those products for more information on installation or configuration.

  1. Use vagrant box add to add an Ubuntu 14.04 base box to be used by this Vagrantfile. The "bento" box for Ubuntu 14.04 ("bento/ubuntu-14.04") offers support for both VirtualBox and VMware Fusion/Workstation.

  2. Edit the machines.yml file to specify the Vagrant box you added in step 1. You can also edit this file to change the amount of RAM allocated or the number of virtual CPUs assigned.

  3. Run vagrant up, and when the VM is up use vagrant ssh to access the generic Ubuntu 14.04 installation.

Enjoy!