summaryrefslogtreecommitdiff
path: root/lib/leap_cli/ssh/options.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2016-07-01 22:38:09 -0700
committerelijah <elijah@riseup.net>2016-07-01 22:38:09 -0700
commitf354e8fa66e49bd989aba196488bfc12f27a92ac (patch)
treea232e682ba515c485cea51261c0fbdc74386859e /lib/leap_cli/ssh/options.rb
parent5780f5dcc024d4f140fe8f6e8dc3f7c4e905a8ec (diff)
fix access to vagrant key file
Diffstat (limited to 'lib/leap_cli/ssh/options.rb')
-rw-r--r--lib/leap_cli/ssh/options.rb2
1 files changed, 1 insertions, 1 deletions
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,