VMs are now named by their containing folder, by default

This commit is contained in:
Mitchell Hashimoto 2010-09-20 08:47:40 -06:00
parent fd61834add
commit 30da24ec25
1 changed files with 4 additions and 0 deletions

View File

@ -26,6 +26,10 @@ Vagrant::Config.run do |config|
config.vm.boot_mode = "vrdp"
config.vm.system = :linux
config.vm.customize do |vm|
vm.name = File.basename(File.expand_path("../", Vagrant.source_root))
end
# Share the root folder. This can then be overridden by
# other Vagrantfiles, if they wish.
config.vm.share_folder("v-root", "/vagrant", ".")