diff --git a/perl-xCAT/xCAT/FSPflash.pm b/perl-xCAT/xCAT/FSPflash.pm index 3ea967194..675c35cad 100644 --- a/perl-xCAT/xCAT/FSPflash.pm +++ b/perl-xCAT/xCAT/FSPflash.pm @@ -253,7 +253,7 @@ sub get_related_fsp_bpa { #Get node ################################# print "in get_related_fsp_bpa(), serial = $serial, mtm= $mtm\n"; - my @ent = $tab->getAllAttribsWhere("serial=\"$serial\" and mtm=\"$mtm\"", 'node'); + my @ent = $tab->getAllAttribsWhere("\"serial\" like '%".$serial."%' and \"mtm\" like '%".$mtm."%'", 'node'); if (@ent < 0) { $msg = "failed to get the FSPs or BPAs whose mtm is $mtm, serial is $serial!"; return ("", $msg);