Skip to content

Instantly share code, notes, and snippets.

@michael-harrison
Last active December 14, 2015 19:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save michael-harrison/5140611 to your computer and use it in GitHub Desktop.
Save michael-harrison/5140611 to your computer and use it in GitHub Desktop.
Creating a CentOS 6.3 with Puppet VM with Vagrant and VirtualBox
# Download and install VirtualBox (see https://www.virtualbox.org/wiki/Downloads) in your flavour of OS
# Download and install Vagrant (see http://downloads.vagrantup.com/) in your flavour of OS
# Get the box from Puppet Labs
# For other boxes check out http://puppet-vagrant-boxes.puppetlabs.com/ and http://www.vagrantbox.es/
vagrant box add centos63 http://puppet-vagrant-boxes.puppetlabs.com/centos-63-x64.box
# Init you new VM
mkdir my_vm
cd my_vm
vagrant init
# Change the following setting in the resulting Vagrantfile
# Vagrant::Config.run do |config|
# config.vm.box = "centos63"
# end
# Start the VM
vagrant up
# Shell into it and you're done :)
vagrant ssh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment