From 1fb520d84459020cdbe25a119204d39cb39f4740 Mon Sep 17 00:00:00 2001 From: lissav Date: Fri, 24 Oct 2008 18:39:43 +0000 Subject: [PATCH] support for rinv in sinv -- still needs testing, some bugs to fix git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@2387 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/SINV.pm | 377 ++++++++++++++++++--------- xCAT-client/pods/man1/sinv.1.pod | 51 ++-- xCAT-server/lib/xcat/plugins/sinv.pm | 3 +- 3 files changed, 295 insertions(+), 136 deletions(-) diff --git a/perl-xCAT/xCAT/SINV.pm b/perl-xCAT/xCAT/SINV.pm index 1973ca025..2f78db627 100644 --- a/perl-xCAT/xCAT/SINV.pm +++ b/perl-xCAT/xCAT/SINV.pm @@ -27,6 +27,7 @@ my $errored = 0; my @dshresult; my $templatepath; my $processflg; +my @cmdresult; # # Subroutines @@ -46,13 +47,13 @@ sub usage my $usagemsg1 = "The sinv command is designed to check the configuration of nodes in a cluster.\nRun man sinv for more information.\n\nInput parameters are as follows:\n"; - my $usagemsg1a = "sinv -h \nsinv -v \nsinv [noderange]\n"; + my $usagemsg1a = "sinv -h \nsinv -v \nsinv \n"; my $usagemsg2 = " [-V verbose] [-v version] [-h usage]\n "; my $usagemsg3 = - " [-o output file ] [-p template path] [-t template count]\n"; - my $usagemsg4 = " [-r remove templates] [-s seednode]\n"; + " [-o output file ] [-p