Fix bug 2654, waring message for "rnetboot -m -r" misses information.
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/branches/2.7@14777 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
50d9b30366
commit
e39dd3b483
@ -215,7 +215,7 @@ sub rnetboot {
|
||||
my $options = $request->{opt};
|
||||
my $hwtype = @$exp[2];
|
||||
my $result;
|
||||
my $name;
|
||||
my $name = $request->{node};
|
||||
my $callback = $request->{callback};
|
||||
#####################################
|
||||
# Get node data
|
||||
@ -238,6 +238,13 @@ sub rnetboot {
|
||||
C => $o->{client},
|
||||
m => $o->{mac}
|
||||
);
|
||||
#####################################
|
||||
# Parse node range
|
||||
#####################################
|
||||
if ($name =~ /ARRAY/) {
|
||||
$name = join(',', @$name);
|
||||
}
|
||||
|
||||
#####################################
|
||||
# Strip colons from mac address
|
||||
#####################################
|
||||
|
Loading…
Reference in New Issue
Block a user