core: replace "-" in UUIDs with ""
This commit is contained in:
parent
ac032db6a6
commit
69a290eb9d
|
@ -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}"
|
||||||
|
|
Loading…
Reference in New Issue