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 0864c681b4
commit 397cdab488
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.provision 'shell', inline: @script, privileged: false
config.vm.synced_folder '.', '/opt/gopath/src/github.com/hashicorp/consul' config.vm.synced_folder '.', '/opt/gopath/src/github.com/hashicorp/consul'
%w[vmware_fusion vmware_workstation].each do |_| %w[vmware_fusion vmware_workstation].each do |p|
config.vm.provider 'p' do |v| config.vm.provider p do |v|
v.vmx['memsize'] = '2048' v.vmx['memsize'] = '2048'
v.vmx['numvcpus'] = '2' v.vmx['numvcpus'] = '2'
v.vmx['cpuid.coresPerSocket'] = '1' v.vmx['cpuid.coresPerSocket'] = '1'