From 69a290eb9d5a1656ec64f08c46728f81b0759275 Mon Sep 17 00:00:00 2001 From: Mitchell Hashimoto Date: Sun, 2 Mar 2014 18:59:01 -0600 Subject: [PATCH] core: replace "-" in UUIDs with "" --- lib/vagrant/machine_index.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/vagrant/machine_index.rb b/lib/vagrant/machine_index.rb index 3ce35867a..ffa0f1dc0 100644 --- a/lib/vagrant/machine_index.rb +++ b/lib/vagrant/machine_index.rb @@ -125,7 +125,7 @@ module Vagrant # Verify the machine is locked so we can safely write # to it. if !id - id = SecureRandom.uuid + id = SecureRandom.uuid.gsub("-", "") lock_file = lock_machine(id) if !lock_file raise "Failed to lock new machine: #{entry.name}"