diff --git a/xCAT-server/lib/xcat/plugins/yaboot.pm b/xCAT-server/lib/xcat/plugins/yaboot.pm index 00ad07a26..917f90a97 100644 --- a/xCAT-server/lib/xcat/plugins/yaboot.pm +++ b/xCAT-server/lib/xcat/plugins/yaboot.pm @@ -162,6 +162,8 @@ sub setstate { my $pname = sprintf("%02x%02x%02x%02x",@ipa); #special case for sles 11 my $mac = lc($machash{$node}->[0]->{mac}); + $mac =~ s/!.*//; + $mac =~ s/|.*//; if (! (grep /\:/, $mac) ) { $mac =~ s/(..)(..)(..)(..)(..)(..)/$1:$2:$3:$4:$5:$6/; }