templates/Vagrantfile.erb in kitchen-vagrant-0.20.0 vs templates/Vagrantfile.erb in kitchen-vagrant-0.21.0
- old
+ new
@@ -52,11 +52,11 @@
<% if config[:ssh_key] %>
c.ssh.private_key_path = "<%= config[:ssh_key] %>"
<% end %>
<% config[:ssh].each do |key, value| %>
- c.ssh.<%= key %> = "<%= value %>"
+ c.ssh.<%= key %> = <%= [true, false].include?(value) ? value : value.inspect %>
<% end %>
<% if config[:winrm] %>
<% config[:winrm].each do |key, value| %>
c.winrm.<%= key %> = <%= value %>
<% end %>
@@ -140,10 +140,10 @@
p.vmx["numvcpus"] = "<%= value %>"
<% end %>
<% else %>
p.vmx["<%= key %>"] = "<%= value %>"
<% end %>
- <% when "openstack", "cloudstack", "hyperv" %>
+ <% when "openstack", "cloudstack", "hyperv", "ovirt3" %>
<% if value.is_a? String %>
p.<%= key %> = "<%= value%>"
<% else %>
p.<%= key %> = <%= value%>
<% end %>