Add generated private key options to rsync command

This commit is contained in:
Chris Roberts 2016-08-11 13:00:37 -07:00
parent 597f49dda8
commit 9e26e31a6b
1 changed files with 1 additions and 1 deletions

View File

@ -108,7 +108,7 @@ module VagrantPlugins
# If specified, attach the private key paths.
if ssh_info[:private_key_path]
ssh_info[:private_key_path].map { |p| "-i '#{p}'" }
rsh += ssh_info[:private_key_path].map { |p| "-i '#{p}'" }
end
# Exclude some files by default, and any that might be configured