Fix bug 2654, waring message for "rnetboot -m -r" misses information

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@14778 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
yinle 2013-01-07 09:11:13 +00:00
parent b2a99543f1
commit ed1deb34f2

View File

@ -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
#####################################