-
Notifications
You must be signed in to change notification settings - Fork 56
/
Vagrantfile
33 lines (24 loc) · 885 Bytes
/
Vagrantfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
# config.vm.box = "opscode-ubuntu-12.04"
config.vm.box = "ansible-ubuntu-1204-i386"
config.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/precise/current/precise-server-cloudimg-i386-vagrant-disk1.box"
config.vm.define "control" do |control|
control.vm.network :private_network, ip: "192.168.61.10"
end
config.vm.define "db" do |db|
db.vm.network :private_network, ip: "192.168.61.11"
end
config.vm.define "dbel" do |db|
db.vm.network :private_network, ip: "192.168.61.14"
db.vm.box = "opscode_centos-6.5-i386"
end
config.vm.define "www" do |www|
www.vm.network :private_network, ip: "192.168.61.12"
end
config.vm.define "lb" do |lb|
lb.vm.network :private_network, ip: "192.168.61.13"
end
end