another '-i' was used here

This commit is contained in:
Tomoyuki Sakurai 2016-10-04 19:47:34 +09:00 committed by Brian Cain
parent 35f83b6fed
commit fe3674e169
1 changed files with 1 additions and 1 deletions

View File

@ -255,7 +255,7 @@ module VagrantPlugins
# Multiple Private Keys
unless !config.inventory_path && @ssh_info[:private_key_path].size == 1
@ssh_info[:private_key_path].each do |key|
ssh_options << "-i '#{key}'"
ssh_options << "-o IdentityFile=%s" % [ key.gsub('%', '%%') ]
end
end