From 07284b400389d6edd980a2edc32866acfd05792c Mon Sep 17 00:00:00 2001 From: John Bender Date: Fri, 12 Mar 2010 01:37:45 -0800 Subject: [PATCH] dirname changed to project root const --- config/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/default.rb b/config/default.rb index de8336d65..97c051cc0 100644 --- a/config/default.rb +++ b/config/default.rb @@ -10,7 +10,7 @@ Vagrant::Config.run do |config| config.ssh.forwarded_port_key = "ssh" config.ssh.max_tries = 10 config.ssh.timeout = 30 - config.ssh.private_key_path = File.join(File.dirname(__FILE__), '..', 'keys', 'vagrant') + config.ssh.private_key_path = File.join(PROJECT_ROOT, 'keys', 'vagrant') config.vm.box_ovf = "box.ovf" config.vm.base_mac = "0800279C2E42"