From bc4abbd8f230017648c5d54a56745d9333bf7317 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Mon, 20 Sep 2010 08:53:51 -0600 Subject: [PATCH] Add a timestamp to the VM name on `up` to avoid collisions --- config/default.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/default.rb b/config/default.rb index cd358fa4e..9bf24c182 100644 --- a/config/default.rb +++ b/config/default.rb @@ -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