Carefully trim off extra mac address cruft to mitigate some failures
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14205 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
563ed5a92a
commit
5f65a3f1d2
@ -648,6 +648,8 @@ sub mknetboot
|
||||
if ($mac !~ /:/) {
|
||||
$mac =~s/(..)(..)(..)(..)(..)(..)/$1:$2:$3:$4:$5:$6/;
|
||||
}
|
||||
$mac =~ s/!.*//; #remove multi-interface mac information
|
||||
$mac =~ s/\|.*//;
|
||||
# } else {
|
||||
# $callback->({ error=>[ qq{In the "mac" table, the "|" delimited string of "macaddress!hostname" format is not supported by "nodeset <nr> netboot|statelite if installnic/primarynic is set".}], errorcode=>[1]});
|
||||
# return;
|
||||
|
Loading…
Reference in New Issue
Block a user