Vagrantfile: fix provider syntax

No provider config was being set.
pull/974/head
Paul Hinze 10 years ago
parent 0864c681b4
commit 397cdab488

4
Vagrantfile vendored

@ -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'

Loading…
Cancel
Save