templates/Vagrantfile.erb in kitchen-vagrant-0.17.0.beta.3 vs templates/Vagrantfile.erb in kitchen-vagrant-0.17.0.beta.4
- old
+ new
@@ -94,9 +94,13 @@
<% when /^vmware_/ %>
<% if key == :memory %>
<% unless config[:customize].include?(:memsize) %>
p.vmx["memsize"] = "<%= value %>"
<% end %>
+ <% elsif key == :cpus %>
+ <% unless config[:customize].include?(:numvcpus) %>
+ p.vmx["numvcpus"] = "<%= value %>"
+ <% end %>
<% else %>
p.vmx["<%= key %>"] = "<%= value %>"
<% end %>
<% end %>
<% end %>