Default VM name is now properly env cwd folder name
This commit is contained in:
parent
f444b32a2f
commit
18835ff629
|
@ -1,5 +1,7 @@
|
|||
## 0.6.4 (unreleased)
|
||||
|
||||
- Default VM name is now properly the parent folder of the working directory
|
||||
of the environment.
|
||||
- Added method to `TestHelpers` to assist with testing new downloaders.
|
||||
- `up --no-provision` works again. This disables provisioning during the
|
||||
boot process.
|
||||
|
|
|
@ -27,7 +27,7 @@ Vagrant::Config.run do |config|
|
|||
|
||||
config.vm.customize do |vm|
|
||||
# Make VM name the name of the containing folder by default
|
||||
vm.name = File.basename(File.expand_path("../", Vagrant.source_root)) + "_#{Time.now.to_i}"
|
||||
vm.name = File.basename(config.env.cwd) + "_#{Time.now.to_i}"
|
||||
end
|
||||
|
||||
# Share the root folder. This can then be overridden by
|
||||
|
|
Loading…
Reference in New Issue