Skip to content

Commit

Permalink
Merge pull request #1965 from phillxnet/1964_update_and_fix_fake_prod…
Browse files Browse the repository at this point in the history
…uct_uuid_entries

update and fix fake product_uuid entries. Fixes #1964
  • Loading branch information
schakrava committed Sep 19, 2018
2 parents af0dc86 + 72db18b commit 2baaee1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rockstor/system/osi.py
Expand Up @@ -2031,13 +2031,16 @@ def hostid():
two. A non-persistent uuid is also generated in this case.
Observed motherboards with these fake non unique puuids:
- Examples of the first listed fake_puuids
ASRock N3700-ITX
ASRock C2550D4I
ASRock J3455 ITX - Thanks to forum member adworacz for reporting this one.
- Examples of the second listed fake_puuids
ZOTAC 880G-ITX (880GITX-A-E) - Thanks to forum member mmmdonuts
"""

fake_puuids = ('03000200-0400-0500-0006-000700080009',
'00020003-0004-0005-0006-00070008000')
'00020003-0004-0005-0006-000700080009')
try:
with open("/sys/class/dmi/id/product_uuid") as fo:
puuid = fo.readline().strip()
Expand Down

0 comments on commit 2baaee1

Please sign in to comment.