mirror of
https://github.com/saltstack/salt.git
synced 2025-04-16 01:30:20 +00:00
fixes saltstack/salt#63131 add boardname grain
This commit is contained in:
parent
36a4c99a24
commit
07b5980bf4
3 changed files with 4 additions and 0 deletions
1
changelog/63131.added
Normal file
1
changelog/63131.added
Normal file
|
@ -0,0 +1 @@
|
|||
Add boardname grain
|
|
@ -3086,6 +3086,7 @@ def _hw_data(osdata):
|
|||
Provides
|
||||
biosversion
|
||||
biosvendor
|
||||
boardname
|
||||
productname
|
||||
manufacturer
|
||||
serialnumber
|
||||
|
@ -3105,6 +3106,7 @@ def _hw_data(osdata):
|
|||
sysfs_firmware_info = {
|
||||
"biosversion": "bios_version",
|
||||
"biosvendor": "bios_vendor",
|
||||
"boardname": "board_name",
|
||||
"productname": "product_name",
|
||||
"manufacturer": "sys_vendor",
|
||||
"biosreleasedate": "bios_date",
|
||||
|
|
|
@ -2951,6 +2951,7 @@ def test__hw_data_linux_empty():
|
|||
"biosreleasedate": "",
|
||||
"biosversion": "",
|
||||
"biosvendor": "",
|
||||
"boardname": "",
|
||||
"manufacturer": "",
|
||||
"productname": "",
|
||||
"serialnumber": "",
|
||||
|
|
Loading…
Add table
Reference in a new issue