summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: df5d102)
raw | patch | inline | side by side (parent: df5d102)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 25 Dec 2015 09:53:41 +0000 (10:53 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Thu, 4 Aug 2016 09:21:09 +0000 (11:21 +0200) |
src/uuid.c | patch | blob | history |
diff --git a/src/uuid.c b/src/uuid.c
index 446969aa71b05a1739cc9b73b986d7d6c2168e29..223bfd544b8c680dd5c8722ba0dd484dcad07ec8 100644 (file)
--- a/src/uuid.c
+++ b/src/uuid.c
if ((uuid = uuid_get_from_dmidecode()) != NULL)
return (uuid);
+#if defined(__linux__)
if ((uuid = uuid_get_from_file("/sys/hypervisor/uuid")) != NULL)
return (uuid);
+#endif
return (NULL);
}