Created
November 21, 2011 17:08
-
-
Save aheritier/1383261 to your computer and use it in GitHub Desktop.
Base MAC address for eth0/NAT must be set error reported with 2 VMs
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
Vagrant::Config.run do |config| | |
# SERVER : tqa-as01.vagrant.exoplatform.com | |
# Vagrant name : as01 | |
config.vm.define :as01 do |as01_config| | |
#as01_config.vm.boot_mode = :gui | |
as01_config.vm.box = "eXo-ubuntu-11.04-server-amd64_VBoxGuestAdditions-4.1.2" | |
as01_config.vm.box_url = "https://storage.exoplatform.org/public/vagrant/ubuntu/11.04/eXo-ubuntu-11.04-server-amd64_VBGAddition-4.1.2.box" | |
as01_config.vm.host_name = "tqa-as01.exoplatform.org" | |
as01_config.vm.network "33.33.33.10" | |
as01_config.vm.customize do |vm| | |
vm.memory_size = 512 | |
vm.name = "tqa-as01" | |
#vm.cpus = 1 | |
end | |
as01_config.vm.provision :puppet do |puppet| | |
puppet.manifests_path = "../../manifests" | |
puppet.manifest_file = "nodes/tqa-as01.exoplatform.org.pp" | |
puppet.module_path = "../../modules" | |
puppet.options = ["--templatedir","/tmp/vagrant-puppet/templates"] | |
end | |
as01_config.vm.forward_port "http", 80, 10080 | |
as01_config.vm.share_folder "v-files", "/tmp/vagrant-puppet/files", "../../files" | |
as01_config.vm.share_folder "v-templates", "/tmp/vagrant-puppet/templates", "../../templates" | |
end | |
# SERVER : tqa-db01.vagrant.exoplatform.com | |
# Vagrant name : db01 | |
config.vm.define :db01 do |db01_config| | |
#db01_config.vm.boot_mode = :gui | |
db01_config.vm.box = "eXo-ubuntu-11.04-server-amd64_VBoxGuestAdditions-4.1.2" | |
db01_config.vm.box_url = "https://storage.exoplatform.org/public/vagrant/ubuntu/11.04/eXo-ubuntu-11.04-server-amd64_VBGAddition-4.1.2.box" | |
db01_config.vm.host_name = "tqa-db01.exoplatform.org" | |
db01_config.vm.network "33.33.33.20" | |
db01_config.vm.customize do |vm| | |
vm.memory_size = 512 | |
vm.name = "tqa-db01" | |
#vm.cpus = 1 | |
end | |
db01_config.vm.provision :puppet do |puppet| | |
puppet.manifests_path = "../../manifests" | |
puppet.manifest_file = "nodes/tqa-db01.exoplatform.org.pp" | |
puppet.module_path = "../../modules" | |
puppet.options = ["--templatedir","/tmp/vagrant-puppet/templates"] | |
end | |
db01_config.vm.forward_port "http", 80, 20080 | |
db01_config.vm.forward_port "mysql", 3306, 20306 | |
db01_config.vm.share_folder "v-files", "/tmp/vagrant-puppet/files", "../../files" | |
db01_config.vm.share_folder "v-templates", "/tmp/vagrant-puppet/templates", "../../templates" | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment