From e7ecfa8109df9c37906cf127eb2bb02aff5329f4 Mon Sep 17 00:00:00 2001 From: Chris Roberts Date: Wed, 15 Mar 2017 11:02:31 -0700 Subject: [PATCH] Use guest boxes variable, not constant. Remove option value quotes. --- test/vagrant-spec/Vagrantfile.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/vagrant-spec/Vagrantfile.spec b/test/vagrant-spec/Vagrantfile.spec index 554e8cf4f..5fbef713c 100644 --- a/test/vagrant-spec/Vagrantfile.spec +++ b/test/vagrant-spec/Vagrantfile.spec @@ -56,11 +56,11 @@ Vagrant.configure(2) do |global_config| vmware.vmx['vhv.allow'] = 'TRUE' end config.vm.provision :shell, path: "./scripts/#{platform}-setup.#{provider_name}.sh", run: "once" - GUEST_BOXES.each_with_index do |box_info, idx| + guest_boxes.each_with_index do |box_info, idx| guest_box, box_version = box_info spec_cmd_args = ENV["VAGRANT_SPEC_ARGS"] if idx != 0 - spec_cmd_args = "#{spec_cmd_args} --without-component 'cli/*'".strip + spec_cmd_args = "#{spec_cmd_args} --without-component cli/*".strip end config.vm.provision( :shell,