Skip to content

Instantly share code, notes, and snippets.

@manuel-rubio
Created October 28, 2014 09:15
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 manuel-rubio/29d2d6140803e632ad6f to your computer and use it in GitHub Desktop.
Save manuel-rubio/29d2d6140803e632ad6f to your computer and use it in GitHub Desktop.
Vagrantfile for a CentOS 6.4 64bits
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "centos-6.4"
config.vm.box_url =
"http://puppet-vagrant-boxes.puppetlabs.com/centos-64-x64-vbox4210.box"
config.vm.network "forwarded_port", guest: 5222, host: 5222
config.ssh.forward_agent = true
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
end
# config.vm.provision "puppet" do |puppet|
# puppet.manifests_path = "manifests"
# puppet.manifest_file = "site.pp"
# end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment