From 2dd251812065be415dc41f64cd12de156696b514 Mon Sep 17 00:00:00 2001 From: wanghuaz Date: Mon, 9 Dec 2013 21:38:41 -0800 Subject: [PATCH] fixing bug 3340: add test option for rmkit to list kitcomponents in use --- xCAT-client/pods/man1/rmkit.1.pod | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/xCAT-client/pods/man1/rmkit.1.pod b/xCAT-client/pods/man1/rmkit.1.pod index a69d3c0a5..e7c2b09bb 100644 --- a/xCAT-client/pods/man1/rmkit.1.pod +++ b/xCAT-client/pods/man1/rmkit.1.pod @@ -6,7 +6,7 @@ B - Remove Kits from xCAT B [B<-?>|B<-h>|B<--help>] [B<-v>|B<--version>] -B [B<-V>|B<--verbose>] [B<-f>|B<--force>] I +B [B<-V>|B<--verbose>] [B<-f>|B<--force>] [B<-t>|B<--test>] I =head1 DESCRIPTION @@ -34,6 +34,10 @@ Command version. Remove this kit even there is any component in this kit is listed by osimage.kitcomponents. If this option is not specified, this kit will not be removed if any kit components listed in an osimage.kitcomponents +=item B<-t|--test> + +Test if kitcomponents in this kit are used by osimage + =item B A comma delimited list of kits that are to be removed from the xCAT cluster. Each entry can be a kitname or kit basename. For kit basename, rmkit command will remove all the kits that have that kit basename. @@ -64,6 +68,14 @@ Output is similar to: Kit kit-test1-1.0-Linux,kit-test2-1.0-Linux was successfully removed. +3. To list kitcomponents in this kit used by osimage + +rmkit kit-test1,kit-test2 -t + +Output is similar to: + +kit-test1-kitcomp-1.0-Linux is being used by osimage osimage-test +Following kitcomponents are in use: kit-test1-kitcomp-1.0-Linux =head1 SEE ALSO