-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathVagrantfile
55 lines (50 loc) · 2.73 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
Vagrant.configure("2") do |config|
config.vm.define "ca" do |machine|
machine.vm.network "private_network", ip: "192.168.50.10"
machine.vm.provision :shell, :inline => "chmod +x /vagrant/ca/ca-init.sh"
machine.vm.provision :shell, :inline => "/vagrant/ca/ca-init.sh"
machine.vm.box = "trusty64"
machine.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
machine.vm.provider "virtualbox" do |vbox|
vbox.customize ["modifyvm", :id, "--memory", "2048"]
end
end
config.vm.define "package-precise" do |machine|
machine.vm.network "private_network", ip: "192.168.50.11"
machine.vm.provision :shell, :inline => "chmod +x /vagrant/package/box-prepare.sh"
machine.vm.provision :shell, :inline => "chmod +x /vagrant/package/erlang-release.sh"
machine.vm.provision :shell, :inline => "chmod +x /vagrant/package/package-deb.sh"
machine.vm.provision :shell, :inline => "/vagrant/package/box-prepare.sh"
machine.vm.provision :shell, :inline => "/vagrant/package/erlang-release.sh"
machine.vm.provision :shell, :inline => "/vagrant/package/package-deb.sh"
machine.vm.box = "precise64"
machine.vm.box_url = "http://files.vagrantup.com/precise64.box"
machine.vm.provider "virtualbox" do |vbox|
vbox.customize ["modifyvm", :id, "--memory", "2048"]
end
end
config.vm.define "package-trusty" do |machine|
machine.vm.network "private_network", ip: "192.168.50.11"
machine.vm.provision :shell, :inline => "chmod +x /vagrant/package/box-prepare.sh"
machine.vm.provision :shell, :inline => "chmod +x /vagrant/package/erlang-release.sh"
machine.vm.provision :shell, :inline => "chmod +x /vagrant/package/package-deb.sh"
machine.vm.provision :shell, :inline => "/vagrant/package/box-prepare.sh"
machine.vm.provision :shell, :inline => "/vagrant/package/erlang-release.sh"
machine.vm.provision :shell, :inline => "/vagrant/package/package-deb.sh"
machine.vm.box = "trusty64"
machine.vm.box_url = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box"
machine.vm.provider "virtualbox" do |vbox|
vbox.customize ["modifyvm", :id, "--memory", "2048"]
end
end
config.vm.define "build-test" do |machine|
machine.vm.network "private_network", ip: "192.168.50.12"
machine.vm.provision :shell, :inline => "chmod +x /vagrant/build-test/build-test.sh"
machine.vm.provision :shell, :inline => "/vagrant/build-test/build-test.sh"
machine.vm.box = "precise64"
machine.vm.box_url = "http://files.vagrantup.com/precise64.box"
machine.vm.provider "virtualbox" do |vbox|
vbox.customize ["modifyvm", :id, "--memory", "512"]
end
end
end