templates/Vagrantfile.erb in kitchen-vagrant-0.18.0 vs templates/Vagrantfile.erb in kitchen-vagrant-0.19.0
- old
+ new
@@ -48,11 +48,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 %> = "<%= value %>"
<% end %>
<% if config[:winrm] %>
<% config[:winrm].each do |key, value| %>
c.winrm.<%= key %> = <%= value %>
<% end %>
@@ -116,9 +116,15 @@
p.vmx["numvcpus"] = "<%= value %>"
<% end %>
<% else %>
p.vmx["<%= key %>"] = "<%= value %>"
<% end %>
+ <% when "openstack" %>
+ <% if value.is_a? String %>
+ p.<%= key %> = "<%= value%>"
+ <% else %>
+ p.<%= key %> = <%= value%>
+ <% end %>
<% end %>
<% end %>
end
end