summaryrefslogtreecommitdiff
path: root/lib/leap_cli/path.rb
diff options
context:
space:
mode:
authorelijah <elijah@riseup.net>2015-09-09 18:19:54 -0700
committerelijah <elijah@riseup.net>2015-09-09 18:19:54 -0700
commitdfaa5f1d2d6af7784bc4c866874025bd299155f7 (patch)
treea19a93709e0bd4af1f113974e815e0685ac4bf22 /lib/leap_cli/path.rb
parente1190e9127ffac98304e7ddb7730b092d2a0a00b (diff)
vagrant bugfix: upload the correct vagrant ssh key. closes #7436
Diffstat (limited to 'lib/leap_cli/path.rb')
-rw-r--r--lib/leap_cli/path.rb5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/leap_cli/path.rb b/lib/leap_cli/path.rb
index 43bb3e0..62ea013 100644
--- a/lib/leap_cli/path.rb
+++ b/lib/leap_cli/path.rb
@@ -99,8 +99,11 @@ module LeapCli; module Path
end
end
- def self.vagrant_ssh_key_file
+ def self.vagrant_ssh_priv_key_file
File.join(LEAP_CLI_BASE_DIR, 'vendor', 'vagrant_ssh_keys', 'vagrant.key')
end
+ def self.vagrant_ssh_pub_key_file
+ File.join(LEAP_CLI_BASE_DIR, 'vendor', 'vagrant_ssh_keys', 'vagrant.pub')
+ end
end; end