diff options
author | Simon Rettberg | 2017-11-21 14:33:00 +0100 |
---|---|---|
committer | Your Name | 2017-11-21 14:33:00 +0100 |
commit | d9f63cebd34200799f2f178294f8ba5c2ae31de1 (patch) | |
tree | 709f4c323ddc43321f1e8675b70a1bf2b9ee2093 /core/modules/system-uuid | |
parent | [hardware-stats] Different fallback mac for dmidecode fails (diff) | |
download | mltk-d9f63cebd34200799f2f178294f8ba5c2ae31de1.tar.gz mltk-d9f63cebd34200799f2f178294f8ba5c2ae31de1.tar.xz mltk-d9f63cebd34200799f2f178294f8ba5c2ae31de1.zip |
[system-uuid] Also change MAC-UUID format
Refs #3227
Diffstat (limited to 'core/modules/system-uuid')
-rwxr-xr-x | core/modules/system-uuid/data/bin/get-uuid | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modules/system-uuid/data/bin/get-uuid b/core/modules/system-uuid/data/bin/get-uuid index 30ef3cf9..ad2cdba4 100755 --- a/core/modules/system-uuid/data/bin/get-uuid +++ b/core/modules/system-uuid/data/bin/get-uuid @@ -13,7 +13,7 @@ fi UUID=$(dmidecode -q -s system-uuid | grep -v '^#' | head -n 1 | tr '[a-z]' '[A-Z]') if [ "${#UUID}" -ne "36" ]; then echo "Determined UUID (${UUID}) has not expected length of 36, falling back to MAC..." - UUID="000000000000000-$BOOTIF" + UUID="000000000000001-$BOOTIF" else # Got UUID, check blacklist DIR="/opt/openslx/bad-uuid.d" |