-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:
parent
1d1c8820fd
commit
1e833c00a2
@ -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/;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user