Vagrantfile: fix provider syntax

No provider config was being set.
This commit is contained in:
Paul Hinze 2015-05-26 13:24:08 -05:00
parent 782d36fe64
commit 10a021a926
1 changed files with 2 additions and 2 deletions

4
Vagrantfile vendored
View File

@ -46,8 +46,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.provision 'shell', inline: @script, privileged: false
config.vm.synced_folder '.', '/opt/gopath/src/github.com/hashicorp/consul'
%w[vmware_fusion vmware_workstation].each do |_|
config.vm.provider 'p' do |v|
%w[vmware_fusion vmware_workstation].each do |p|
config.vm.provider p do |v|
v.vmx['memsize'] = '2048'
v.vmx['numvcpus'] = '2'
v.vmx['cpuid.coresPerSocket'] = '1'