Skip to content

Commit

Permalink
Merge pull request #2037 from phillxnet/2036_add_known_non_unique_pro…
Browse files Browse the repository at this point in the history
…duct_uuid_on_GIADA_N70E-DR

add known non unique product_uuid on GIADA N70E-DR. Fixes #2036
  • Loading branch information
phillxnet committed Jul 13, 2019
2 parents 241e03e + 33a3c27 commit 3ad7eee
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/rockstor/system/osi.py
Expand Up @@ -2104,10 +2104,13 @@ def hostid():
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
- Examples of the third listed fake_puuids
GIADA N70E-DR - Thanks to forum member hammerite
"""

fake_puuids = ('03000200-0400-0500-0006-000700080009',
'00020003-0004-0005-0006-000700080009')
'00020003-0004-0005-0006-000700080009',
'5C4606FA-192F-453A-B299-7B088C63BB9B')
try:
with open("/sys/class/dmi/id/product_uuid") as fo:
puuid = fo.readline().strip()
Expand Down

0 comments on commit 3ad7eee

Please sign in to comment.