mitchellh/vagrant — Issue #778: Vagrant.Environment property :vagrantfile_name does not work as expected
Author: coreyoconnor
Created: 2012-03-07 01:50:01+00:00
State: open

According to the documentation :vagrantfile_name is "The valid name for a Vagrantfile for this environment". Which, IMO, means that setting this will just tell Vagrant to load the file at the provided path instead of Vagrantfile or vagrantfile. However, in my tests this causes env.cli('up') to fail with
vm: * Base MAC address for eth0/NAT must be set. Contact box maintainer for more information.

regardless of value.

Setting this property appears to also modify the vagrant home and root paths. Which is not as expected.
```text
DEBUG loader: Set :home = #
DEBUG loader: Populating proc cache for #
DEBUG loader: Load procs for pathname: #
DEBUG loader: Set :root = #
```

Note the "Set :root" and "Set :home". This I find to be odd.