Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: Vagrantfile

Issue 6162855837564928: Issue 311 - Switch to a current Ubuntu image for infrastructure testing (Closed)
Patch Set: Created April 12, 2014, 9:40 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | modules/base/manifests/init.pp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 VAGRANTFILE_API_VERSION = "2" 1 VAGRANTFILE_API_VERSION = "2"
2 2
3 def define_standard_vm(config, host_name, ip) 3 def define_standard_vm(config, host_name, ip)
4 config.vm.define host_name do |config| 4 config.vm.define host_name do |config|
5 config.vm.box = 'precise64' 5 config.vm.box = 'precise64'
6 config.vm.box_url = 'http://files.vagrantup.com/precise64.box' 6 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" 7 config.vm.host_name = "#{host_name}.adblockplus.org"
8 config.vm.network :private_network, ip: ip 8 config.vm.network :private_network, ip: ip
9 config.vm.provider :virtualbox do |vb| 9 config.vm.provider :virtualbox do |vb|
10 vb.customize ["modifyvm", :id, "--cpus", 1] 10 vb.customize ["modifyvm", :id, "--cpus", 1]
11 11
12 # Work around https://www.virtualbox.org/ticket/11649 12 # Work around https://www.virtualbox.org/ticket/11649
13 vb.customize ['modifyvm', :id, '--natdnshostresolver1', 'on'] 13 vb.customize ['modifyvm', :id, '--natdnshostresolver1', 'on']
14 end 14 end
15 15
16 config.vm.provision :shell, :inline => ' 16 config.vm.provision :shell, :inline => '
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 define_standard_vm config, 'filter10', '10.8.0.136' 67 define_standard_vm config, 'filter10', '10.8.0.136'
68 define_standard_vm config, 'filter11', '10.8.0.137' 68 define_standard_vm config, 'filter11', '10.8.0.137'
69 define_standard_vm config, 'filter12', '10.8.0.138' 69 define_standard_vm config, 'filter12', '10.8.0.138'
70 define_standard_vm config, 'filter13', '10.8.0.139' 70 define_standard_vm config, 'filter13', '10.8.0.139'
71 define_standard_vm config, 'filter14', '10.8.0.140' 71 define_standard_vm config, 'filter14', '10.8.0.140'
72 define_standard_vm config, 'filter15', '10.8.0.141' 72 define_standard_vm config, 'filter15', '10.8.0.141'
73 define_standard_vm config, 'filter16', '10.8.0.142' 73 define_standard_vm config, 'filter16', '10.8.0.142'
74 define_standard_vm config, 'filter17', '10.8.0.143' 74 define_standard_vm config, 'filter17', '10.8.0.143'
75 define_standard_vm config, 'filter18', '10.8.0.144' 75 define_standard_vm config, 'filter18', '10.8.0.144'
76 end 76 end
OLDNEW
« no previous file with comments | « no previous file | modules/base/manifests/init.pp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld