From e19d8109a70625e815f9d1428629a41d6c4d7f06 Mon Sep 17 00:00:00 2001 From: iasunsea Date: Sat, 25 May 2024 16:00:27 +0800 Subject: [PATCH] fix compare uuid fail --- blivet/populator/helpers/disk.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/blivet/populator/helpers/disk.py b/blivet/populator/helpers/disk.py index 3ac3f4089..aa10c8693 100644 --- a/blivet/populator/helpers/disk.py +++ b/blivet/populator/helpers/disk.py @@ -262,7 +262,7 @@ def _get_kwargs(self): kwargs["eui64"] = ninfo.eui64 kwargs["nguid"] = ninfo.nguid - if ninfo.uuid and ninfo.uuid != uuid.UUID(int=0): + if ninfo.uuid and str(ninfo.uuid) != str(uuid.UUID(int=0)): kwargs["uuid"] = ninfo.uuid else: kwargs["uuid"] = None