2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2026-01-07 00:42:29 +00:00

Merge pull request #5337 from whowutwut/stratton_support

Add model type for 'stratton' boxes, 8001-12C model type in firmware flashing
This commit is contained in:
zet809
2018-06-27 10:10:37 +08:00
committed by GitHub

View File

@@ -1978,7 +1978,7 @@ sub do_firmware_update {
# P9 Boston (9006-22C, 9006-12C, 5104-22C) or P8 Briggs (8001-22C)
# firmware update is done using pUpdate utility expected to be in the
# specified data directory along with the update files .bin for BMC or .pnor for Host
if ($output =~ /8001-22C|9006-22C|5104-22C|9006-12C/) {
if ($output =~ /8001-22C|9006-22C|5104-22C|8001-12C|9006-12C/) {
# Verify valid data directory was specified
if (defined $directory_name) {
unless (File::Spec->file_name_is_absolute($directory_name)) {