Left: | ||
Right: |
OLD | NEW |
---|---|
1 VAGRANTFILE_API_VERSION = "2" | 1 VAGRANTFILE_API_VERSION = "2" |
2 system("python ensure_dependencies.py") | |
Wladimir Palant
2014/09/18 13:24:46
This assumes that Vagrantfile is located in the cu
mathias
2014/09/18 14:11:20
Done.
| |
2 | 3 |
3 def define_standard_vm(config, host_name, ip) | 4 def define_standard_vm(config, host_name, ip) |
4 config.vm.define host_name do |config| | 5 config.vm.define host_name do |config| |
5 config.vm.box = 'precise64' | 6 config.vm.box = 'precise64' |
6 config.vm.box_url = 'http://cloud-images.ubuntu.com/vagrant/precise/current/ precise-server-cloudimg-amd64-vagrant-disk1.box' | 7 config.vm.box_url = 'http://cloud-images.ubuntu.com/vagrant/precise/current/ precise-server-cloudimg-amd64-vagrant-disk1.box' |
7 config.vm.host_name = "#{host_name}.adblockplus.org" | 8 config.vm.host_name = "#{host_name}.adblockplus.org" |
8 config.vm.network :private_network, ip: ip | 9 config.vm.network :private_network, ip: ip |
9 config.vm.provider :virtualbox do |vb| | 10 config.vm.provider :virtualbox do |vb| |
10 vb.customize ["modifyvm", :id, "--cpus", 1] | 11 vb.customize ["modifyvm", :id, "--cpus", 1] |
11 | 12 |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
67 define_standard_vm config, 'filter10', '10.8.0.136' | 68 define_standard_vm config, 'filter10', '10.8.0.136' |
68 define_standard_vm config, 'filter11', '10.8.0.137' | 69 define_standard_vm config, 'filter11', '10.8.0.137' |
69 define_standard_vm config, 'filter12', '10.8.0.138' | 70 define_standard_vm config, 'filter12', '10.8.0.138' |
70 define_standard_vm config, 'filter13', '10.8.0.139' | 71 define_standard_vm config, 'filter13', '10.8.0.139' |
71 define_standard_vm config, 'filter14', '10.8.0.140' | 72 define_standard_vm config, 'filter14', '10.8.0.140' |
72 define_standard_vm config, 'filter15', '10.8.0.141' | 73 define_standard_vm config, 'filter15', '10.8.0.141' |
73 define_standard_vm config, 'filter16', '10.8.0.142' | 74 define_standard_vm config, 'filter16', '10.8.0.142' |
74 define_standard_vm config, 'filter17', '10.8.0.143' | 75 define_standard_vm config, 'filter17', '10.8.0.143' |
75 define_standard_vm config, 'filter18', '10.8.0.144' | 76 define_standard_vm config, 'filter18', '10.8.0.144' |
76 end | 77 end |
OLD | NEW |