Add a timestamp to the VM name on `up` to avoid collisions

This commit is contained in:
Mitchell Hashimoto 2010-09-20 08:53:51 -06:00
parent 30da24ec25
commit bc4abbd8f2
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ Vagrant::Config.run do |config|
config.vm.system = :linux
config.vm.customize do |vm|
vm.name = File.basename(File.expand_path("../", Vagrant.source_root))
vm.name = File.basename(File.expand_path("../", Vagrant.source_root)) + "_#{Time.now.to_i}"
end
# Share the root folder. This can then be overridden by