another '-i' was used here
This commit is contained in:
parent
35f83b6fed
commit
fe3674e169
|
@ -255,7 +255,7 @@ module VagrantPlugins
|
||||||
# Multiple Private Keys
|
# Multiple Private Keys
|
||||||
unless !config.inventory_path && @ssh_info[:private_key_path].size == 1
|
unless !config.inventory_path && @ssh_info[:private_key_path].size == 1
|
||||||
@ssh_info[:private_key_path].each do |key|
|
@ssh_info[:private_key_path].each do |key|
|
||||||
ssh_options << "-i '#{key}'"
|
ssh_options << "-o IdentityFile=%s" % [ key.gsub('%', '%%') ]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue