fix error rinstall compute node1 interpreting noderange as compute,node1 feature 2991651
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5885 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
parent
6594f56f3d
commit
f058ea4621
@ -20,7 +20,19 @@ unless (GetOptions(
|
||||
usage;
|
||||
exit 1;
|
||||
}
|
||||
my $noderange=join(',',@ARGV);
|
||||
my $arraysize=@ARGV;
|
||||
if ($arraysize > 1) {
|
||||
print "noderange invalid\n";
|
||||
usage;
|
||||
exit 1;
|
||||
}
|
||||
if ($arraysize == 0) {
|
||||
print "noderange not supplied\n";
|
||||
usage;
|
||||
exit 1;
|
||||
}
|
||||
my $noderange=@ARGV[0];
|
||||
|
||||
my $nodechline = "";
|
||||
if ($OSVER) {
|
||||
$nodechline = "nodetype.os=$OSVER";
|
||||
|
Loading…
Reference in New Issue
Block a user