From d9f63cebd34200799f2f178294f8ba5c2ae31de1 Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Tue, 21 Nov 2017 14:33:00 +0100 Subject: [system-uuid] Also change MAC-UUID format Refs #3227 --- core/modules/system-uuid/data/bin/get-uuid | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/system-uuid') 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" -- cgit v1.2.3-55-g7522