diff --git a/xCAT-server/lib/xcat/plugins/grub2.pm b/xCAT-server/lib/xcat/plugins/grub2.pm index 04650a69d..bb2e0ed15 100644 --- a/xCAT-server/lib/xcat/plugins/grub2.pm +++ b/xCAT-server/lib/xcat/plugins/grub2.pm @@ -248,7 +248,7 @@ sub setstate { } if ($nodemac =~ /:/) { - my $tmp = $nodemac; + my $tmp = lc($nodemac); $tmp =~ s/(..):(..):(..):(..):(..):(..)/$1-$2-$3-$4-$5-$6/g; my $pname = "grub.cfg-01-" . $tmp; unlink($tftpdir."/boot/grub2/".$pname); diff --git a/xCAT-server/lib/xcat/plugins/yaboot.pm b/xCAT-server/lib/xcat/plugins/yaboot.pm index 3ce67366f..6d08786c8 100644 --- a/xCAT-server/lib/xcat/plugins/yaboot.pm +++ b/xCAT-server/lib/xcat/plugins/yaboot.pm @@ -289,7 +289,7 @@ sub setstate { } } if ($nodemac =~ /:/) { - my $tmp = $nodemac; + my $tmp =lc($nodemac); $tmp =~ s/(..):(..):(..):(..):(..):(..)/$1-$2-$3-$4-$5-$6/g; my $pname = "yaboot.conf-" . $tmp; unlink($tftpdir."/".$pname);