Skip to content

Commit ca78ca3

Browse files
committed
Fix name of VirtualBox provider in Vagrantfile
This arose from a backport where in later branches we have changed the name of the local variable used to refer to the VirtualBox provider. This commit addresses this switching to the name we use in future branches in case anything else is backported.
1 parent c53c440 commit ca78ca3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Vagrantfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -201,10 +201,10 @@ def provision(config,
201201
raise ArgumentError.new('update_command is required') if update_command == 'required'
202202
raise ArgumentError.new('update_tracking_file is required') if update_tracking_file == 'required'
203203
raise ArgumentError.new('install_command is required') if install_command == 'required'
204-
config.vm.provider "virtualbox" do |v|
204+
config.vm.provider "virtualbox" do |vbox|
205205
# Give the box more memory and cpu because our tests are beasts!
206-
v.memory = Integer(ENV['VAGRANT_MEMORY'] || 8192)
207-
v.cpus = Integer(ENV['VAGRANT_CPUS'] || 4)
206+
vbox.memory = Integer(ENV['VAGRANT_MEMORY'] || 8192)
207+
vbox.cpus = Integer(ENV['VAGRANT_CPUS'] || 4)
208208

209209
# see https://github.com/hashicorp/vagrant/issues/9524
210210
vbox.customize ["modifyvm", :id, "--audio", "none"]

0 commit comments

Comments
 (0)