From ed1deb34f2804e8367fe583366c57814fa025ad5 Mon Sep 17 00:00:00 2001 From: yinle Date: Mon, 7 Jan 2013 09:11:13 +0000 Subject: [PATCH] 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 --- perl-xCAT/xCAT/FSPboot.pm | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/FSPboot.pm b/perl-xCAT/xCAT/FSPboot.pm index 10f7914f2..eaa4dd85f 100644 --- a/perl-xCAT/xCAT/FSPboot.pm +++ b/perl-xCAT/xCAT/FSPboot.pm @@ -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 #####################################