From f354e8fa66e49bd989aba196488bfc12f27a92ac Mon Sep 17 00:00:00 2001 From: elijah Date: Fri, 1 Jul 2016 22:38:09 -0700 Subject: fix access to vagrant key file --- lib/leap_cli/ssh/options.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/leap_cli/ssh') diff --git a/lib/leap_cli/ssh/options.rb b/lib/leap_cli/ssh/options.rb index 0bbaa36f..d991cc29 100644 --- a/lib/leap_cli/ssh/options.rb +++ b/lib/leap_cli/ssh/options.rb @@ -58,7 +58,7 @@ module LeapCli def self.contingent_ssh_options_for_node(node) opts = {} if node.vagrant? - opts[:keys] = [vagrant_ssh_key_file] + opts[:keys] = [LeapCli::Util::Vagrant.vagrant_ssh_key_file] opts[:keys_only] = true # only use the keys specified above, and # ignore whatever keys the ssh-agent is aware of. opts[:paranoid] = false # we skip host checking for vagrant nodes, -- cgit v1.2.3