mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-21 10:40:24 +00:00
Merge pull request #7095 from Obihoernchen/patch-10
Fix OpenPOWER detection regex
This commit is contained in:
@@ -1619,7 +1619,7 @@ sub isopenpower {
|
||||
if ($sessdata->{prod_id} == 43707 and $sessdata->{mfg_id} == 0) {
|
||||
# mft_id 0 and prod_id 43707 is for Firestone,Minsky
|
||||
return 1;
|
||||
} elsif (($sessdata->{prod_id} =~ /0|2355|2437/) and $sessdata->{mfg_id} == 10876) {
|
||||
} elsif (($sessdata->{prod_id} =~ /^(?:0|2355|2437)$/) and $sessdata->{mfg_id} == 10876) {
|
||||
# mfg_id 10876 is for IBM Power S822LC for Big Data (Supermicro), prod_id 2355 for B&S, and 0 or 2437 for Boston
|
||||
return 1;
|
||||
} else {
|
||||
|
Reference in New Issue
Block a user