Skip to content
Browse files

Update CHANGELOG

  • Loading branch information...
1 parent 33187e1 commit cd92d6483fb02292384cb8a831c158b83e79ca6c @mitchellh mitchellh committed
Showing with 3 additions and 1 deletion.
  1. +2 −0 CHANGELOG.md
  2. +1 −1 lib/vagrant/config/ssh.rb
View
2 CHANGELOG.md
@@ -4,6 +4,8 @@
used, so that `vagrant provision` works. [GH-803]
- Nicer error message if an unsupported SSH key type is used. [GH-805]
- Gentoo guests can now have their host names changed. [GH-796]
+ - Relative paths can be used for the `config.ssh.private_key_path`
+ setting. [GH-808]
## 1.0.1 (March 11, 2012)
View
2 lib/vagrant/config/ssh.rb
@@ -18,7 +18,7 @@ def validate(env, errors)
errors.add(I18n.t("vagrant.config.common.error_empty", :field => field)) if !instance_variable_get("@#{field}".to_sym)
end
- if private_key_path && !File.file?(File.expand_path(private_key_path))
+ if private_key_path && !File.file?(File.expand_path(private_key_path, env.root_path))
errors.add(I18n.t("vagrant.config.ssh.private_key_missing", :path => private_key_path))
end
end

0 comments on commit cd92d64

Please sign in to comment.
Something went wrong with that request. Please try again.