mitchellh/vagrant — pull request #528 by jbrown (2011-10-18 18:39:06+00:00)
Title: Make init respect the env's cwd.

Here's the problem I was having...

```ruby
FileUtils.mkdir_p 'tmp'
env = Vagrant::Environment.new(:cwd => File.expand_path('tmp'))
Dir.chdir 'tmp' do
env.cli 'init'
end
```

I would expect that `init` would create the Vagrantfile in the cwd as specified in the vagrant environment. Instead, it's created in `Dir.pwd`. This pull request fixes that.