This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 28
/
Copy pathVagrantfile
59 lines (50 loc) · 1.8 KB
/
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure('2') do |config|
#config.vm.define 'master' do |machine|
# machine.vm.box = 'box-cutter/ubuntu1404'
# machine.vm.network 'private_network', ip: '10.10.0.10'
# machine.vm.provision 'shell', :path => 'vagrant/provision-master.sh'
#end
config.vm.define 'ubuntu1404' do |machine|
machine.vm.box = 'box-cutter/ubuntu1404'
machine.vm.network 'private_network', ip: '10.10.0.11'
machine.vm.network "forwarded_port", guest: 9000, host: 9011
machine.vm.provision 'shell' do |shell|
shell.path = 'development/vagrant/provision-client.sh'
shell.args = ['apt']
end
end
#config.vm.define 'ubuntu1204' do |machine|
# machine.vm.box = 'box-cutter/ubuntu1204'
# machine.vm.network 'private_network', ip: '10.10.0.12'
# machine.vm.network "forwarded_port", guest: 9000, host: 9012
#
# machine.vm.provision 'shell' do |shell|
# shell.path = 'development/vagrant/provision-client.sh'
# shell.args = ['apt']
# end
#end
config.vm.define 'debian7' do |machine|
machine.vm.box = 'box-cutter/debian75'
machine.vm.network 'private_network', ip: '10.10.0.13'
machine.vm.network "forwarded_port", guest: 9000, host: 9013
machine.vm.provision 'shell' do |shell|
shell.path = 'development/vagrant/provision-client.sh'
shell.args = ['apt']
end
end
config.vm.define 'centos6' do |machine|
machine.vm.box = 'box-cutter/centos65'
machine.vm.network 'private_network', ip: '10.10.0.14'
machine.vm.network "forwarded_port", guest: 9000, host: 9014
machine.vm.provision 'shell' do |shell|
shell.path = 'development/vagrant/provision-client.sh'
shell.args = ['yum']
end
end
config.vm.provider 'virtualbox' do |v|
v.memory = 2048
v.cpus = 2
end
end