Only wrap IdentityFile in quotes if it contains spaces [GH-1682]
This commit is contained in:
parent
f4c36795df
commit
7c61931142
|
@ -36,6 +36,8 @@ BUG FIXES:
|
|||
- All provisioners only output newlines when the provisioner sends a
|
||||
newline. This results in the output looking a lot nicer.
|
||||
- Sharing folders works properly if ".profile" contains an echo. [GH-1677]
|
||||
- `vagrant ssh-config` IdentityFile is only wrapped in quotes if it
|
||||
contains a space. [GH-1682]
|
||||
|
||||
## 1.2.4 (July 16, 2013)
|
||||
|
||||
|
|
|
@ -5,7 +5,11 @@ Host <%= host_key %>
|
|||
UserKnownHostsFile /dev/null
|
||||
StrictHostKeyChecking no
|
||||
PasswordAuthentication no
|
||||
<% if private_key_path.include?(" ") -%>
|
||||
IdentityFile "<%= private_key_path %>"
|
||||
<% else -%>
|
||||
IdentityFile <%= private_key_path %>
|
||||
<% end -%>
|
||||
IdentitiesOnly yes
|
||||
LogLevel FATAL
|
||||
<% if forward_agent -%>
|
||||
|
|
Loading…
Reference in New Issue