diff options
author | elijah <elijah@riseup.net> | 2015-08-19 17:40:46 -0700 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2015-08-19 17:40:46 -0700 |
commit | 1b4c55b308eda73504769c38972da9b2f1295e99 (patch) | |
tree | 2aa01d87f0dd15a8a8ad8b6ac58ee056a8a64123 /lib/leap_cli | |
parent | 64787942086b6fbfdf432cd6250f0937c785de1a (diff) |
fix vagrant key path
Diffstat (limited to 'lib/leap_cli')
-rw-r--r-- | lib/leap_cli/commands/vagrant.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/leap_cli/commands/vagrant.rb b/lib/leap_cli/commands/vagrant.rb index 27c739b1..1561a658 100644 --- a/lib/leap_cli/commands/vagrant.rb +++ b/lib/leap_cli/commands/vagrant.rb @@ -79,7 +79,7 @@ module LeapCli; module Commands # we need to make sure that it owned by us and not world readable. # def vagrant_ssh_key_file - file_path = File.expand_path('../../../vendor/vagrant_ssh_keys/vagrant.key', File.dirname(__FILE__)) + file_path = Path.vagrant_ssh_key_file Util.assert_files_exist! file_path uid = File.new(file_path).stat.uid if uid == 0 || uid == Process.euid |