-Escape special character in yaboot.conf generator

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6179 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
jbjohnso 2010-05-19 20:59:30 +00:00
parent 1d1c8820fd
commit 1e833c00a2

View File

@ -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/;
}