Skip to content

Instantly share code, notes, and snippets.

@dpetzel
Created October 18, 2012 13:14
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 dpetzel/3911744 to your computer and use it in GitHub Desktop.
Save dpetzel/3911744 to your computer and use it in GitHub Desktop.
generic_zenoss_Vagrantfile
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant::Config.run do |config|
# All Vagrant configuration is done here. The most common configuration
# options are documented and commented below. For a complete reference,
# please see the online documentation at vagrantup.com.
config.vm.define :core3 do |core3_config|
core3_config.vm.box = "core3"
core3_config.vm.forward_port 8080, 8083
core3_config.vm.box_url = "https://opscode-vm.s3.amazonaws.com/vagrant/boxes/opscode-centos-5.8.box"
core3_config.vm.customize ["modifyvm", :id, "--memory", 2048]
end
config.vm.define :core4 do |core4_config|
core4_config.vm.box = "core4"
core4_config.vm.forward_port 8080, 8084
core4_config.vm.box_url = "https://opscode-vm.s3.amazonaws.com/vagrant/boxes/opscode-centos-6.3.box"
core4_config.vm.provision :shell, :inline => "yum -y erase mysql* && yum -y install curl && curl -L https://raw.github.com/zenoss/core-autodeploy/master/core-autodeploy-4.2.sh | sudo bash"
core4_config.vm.customize ["modifyvm", :id, "--memory", 4096]
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment