VMs are now named by their containing folder, by default
This commit is contained in:
parent
fd61834add
commit
30da24ec25
|
@ -26,6 +26,10 @@ Vagrant::Config.run do |config|
|
||||||
config.vm.boot_mode = "vrdp"
|
config.vm.boot_mode = "vrdp"
|
||||||
config.vm.system = :linux
|
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
|
# Share the root folder. This can then be overridden by
|
||||||
# other Vagrantfiles, if they wish.
|
# other Vagrantfiles, if they wish.
|
||||||
config.vm.share_folder("v-root", "/vagrant", ".")
|
config.vm.share_folder("v-root", "/vagrant", ".")
|
||||||
|
|
Loading…
Reference in New Issue