templates/vagrant/Vagrantfile.erb in vagrant-orchestrate-0.0.4 vs templates/vagrant/Vagrantfile.erb in vagrant-orchestrate-0.0.5
- old
+ new
@@ -31,10 +31,10 @@
<% if communicator == "ssh" -%>
config.ssh.username = "<%= ssh_username %>"
<% if ssh_password -%>
config.ssh.password = "<%= ssh_password %>"
<% end -%>
- <% if !ssh_password -%>
+ <% if ssh_private_key_path -%>
config.ssh.private_key_path = "<%= ssh_private_key_path %>"
<% end -%>
<% end -%>
<% if communicator == "winrm" -%>
config.vm.communicator = "<%= communicator %>"