Skip to content

Commit

Permalink
NAS-111462 / 12.0 / fix license detection on r-series devices (truena…
Browse files Browse the repository at this point in the history
  • Loading branch information
yocalebo authored Jul 19, 2021
1 parent b037894 commit cf8e8b1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ async def get_chassis_hardware(self):

data = await self.middleware.call('system.dmidecode_info')
chassis = data['system-product-name']
if chassis.startswith(('TRUENAS-M', 'TRUENAS-X', 'TRUENAS-Z')):
if chassis.startswith(('TRUENAS-M', 'TRUENAS-X', 'TRUENAS-Z', 'TRUENAS-R')):
return chassis
# We don't match a burned in name for a M, X or Z series. Let's catch
# the case where we are a M, X or Z. (shame on you production!)
Expand Down

0 comments on commit cf8e8b1

Please sign in to comment.