dmidecode can return some additional data if SMBIOS is updated. Let's
ensure that the expected output matches the expected UUID format. The
expected string from the 'dmidecode --s system-uuid' call should look
like "79287E4C-2FBF-11B2-A85C-EB9FB9250CBA".
Reviewed: https:/ /review. openstack. org/559770 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=dc3781778e1 fef0fcb0e969d82 1d36b0fe03a6da
Committed: https:/
Submitter: Zuul
Branch: master
commit dc3781778e1fef0 fcb0e969d821d36 b0fe03a6da
Author: Alex Schultz <email address hidden>
Date: Mon Apr 9 09:35:43 2018 -0600
Sanitize the uuid string
dmidecode can return some additional data if SMBIOS is updated. Let's 2FBF-11B2- A85C-EB9FB9250C BA".
ensure that the expected output matches the expected UUID format. The
expected string from the 'dmidecode --s system-uuid' call should look
like "79287E4C-
Change-Id: Ib0d19e64b2f24f 4a9229f8868795e 8979e267f04
Closes-Bug: #1762460