Last active
December 14, 2015 19:59
-
-
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
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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