diff --git a/xCAT-server/lib/xcat/plugins/yaboot.pm b/xCAT-server/lib/xcat/plugins/yaboot.pm index 91a6331fd..c3361babb 100644 --- a/xCAT-server/lib/xcat/plugins/yaboot.pm +++ b/xCAT-server/lib/xcat/plugins/yaboot.pm @@ -165,7 +165,7 @@ sub setstate { #special case for sles 11 my $mac = lc($machash{$node}->[0]->{mac}); $mac =~ s/!.*//; - $mac =~ s/|.*//; + $mac =~ s/\|.*//; if (! (grep /\:/, $mac) ) { $mac =~ s/(..)(..)(..)(..)(..)(..)/$1:$2:$3:$4:$5:$6/; }