Skip to content

Commit

Permalink
providers/supermicro/x13.go: Fix biosFwInstallParams() to reference p…
Browse files Browse the repository at this point in the history
…roper X13 model(s)
  • Loading branch information
splaspood committed Aug 28, 2024
1 parent e73e825 commit 992318a
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions providers/supermicro/x13.go
Original file line number Diff line number Diff line change
Expand Up @@ -197,15 +197,7 @@ func (c *x13) firmwareTaskActive(ctx context.Context, component string) error {
// redfish OEM fw install parameters
func (c *x13) biosFwInstallParams() (map[string]bool, error) {
switch c.model {
case "x13spo-ntf":
return map[string]bool{
"PreserveME": false,
"PreserveNVRAM": false,
"PreserveSMBIOS": true,
"BackupBIOS": false,
"PreserveBOOTCONF": true,
}, nil
case "x13sth-sys":
case "x13dem":
return map[string]bool{
"PreserveME": false,
"PreserveNVRAM": false,
Expand Down

0 comments on commit 992318a

Please sign in to comment.