core: replace "-" in UUIDs with ""

This commit is contained in:
Mitchell Hashimoto 2014-03-02 18:59:01 -06:00
parent ac032db6a6
commit 69a290eb9d
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ module Vagrant
# Verify the machine is locked so we can safely write # Verify the machine is locked so we can safely write
# to it. # to it.
if !id if !id
id = SecureRandom.uuid id = SecureRandom.uuid.gsub("-", "")
lock_file = lock_machine(id) lock_file = lock_machine(id)
if !lock_file if !lock_file
raise "Failed to lock new machine: #{entry.name}" raise "Failed to lock new machine: #{entry.name}"