Use guest boxes variable, not constant. Remove option value quotes.
This commit is contained in:
parent
ce2a1ac634
commit
e7ecfa8109
|
@ -56,11 +56,11 @@ Vagrant.configure(2) do |global_config|
|
||||||
vmware.vmx['vhv.allow'] = 'TRUE'
|
vmware.vmx['vhv.allow'] = 'TRUE'
|
||||||
end
|
end
|
||||||
config.vm.provision :shell, path: "./scripts/#{platform}-setup.#{provider_name}.sh", run: "once"
|
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
|
guest_box, box_version = box_info
|
||||||
spec_cmd_args = ENV["VAGRANT_SPEC_ARGS"]
|
spec_cmd_args = ENV["VAGRANT_SPEC_ARGS"]
|
||||||
if idx != 0
|
if idx != 0
|
||||||
spec_cmd_args = "#{spec_cmd_args} --without-component 'cli/*'".strip
|
spec_cmd_args = "#{spec_cmd_args} --without-component cli/*".strip
|
||||||
end
|
end
|
||||||
config.vm.provision(
|
config.vm.provision(
|
||||||
:shell,
|
:shell,
|
||||||
|
|
Loading…
Reference in New Issue