2012-10-23 12:02:39 +00:00
=head1 NAME
2012-11-02 16:23:14 +00:00
B<rmkit> - Remove Kits from xCAT
2012-10-23 12:02:39 +00:00
=head1 SYNOPSIS
2013-10-12 16:58:15 +00:00
B<rmkit> [B<-?>|B<-h>|B<--help>] [B<-v>|B<--version>]
2012-10-23 12:02:39 +00:00
2013-12-10 05:38:41 +00:00
B<rmkit> [B<-V>|B<--verbose>] [B<-f>|B<--force>] [B<-t>|B<--test>] I<kitlist>
2012-10-23 12:02:39 +00:00
=head1 DESCRIPTION
The B<rmkit> command removes kits on the xCAT management node from kit names.
2013-10-12 16:58:15 +00:00
Note: The xCAT support for Kits is only available for Linux operating systems.
2012-10-23 12:02:39 +00:00
=head1 OPTIONS
2013-10-12 16:58:15 +00:00
=over 10
=item B<-h|--help>
2012-10-23 12:02:39 +00:00
Display usage message.
2013-10-12 16:58:15 +00:00
=item B<-V|--verbose>
2012-10-23 12:02:39 +00:00
Verbose mode.
2013-10-12 16:58:15 +00:00
=item B<-v|--version>
Command version.
=item B<-f|--force>
2012-10-23 12:02:39 +00:00
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
2013-12-10 05:38:41 +00:00
=item B<-t|--test>
Test if kitcomponents in this kit are used by osimage
2013-10-12 16:58:15 +00:00
=item B<kitlist>
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.
2012-10-23 12:02:39 +00:00
2013-10-12 16:58:15 +00:00
=back
2012-10-23 12:02:39 +00:00
=head1 RETURN VALUE
0 The command completed successfully.
1 An error has occurred.
=head1 EXAMPLES
1. To remove two kits from tarball files.
rmkit kit-test1,kit-test2
Output is similar to:
Kit kit-test1-1.0-Linux,kit-test2-1.0-Linux was successfully removed.
2. To remove two kits from tarball files even the kit components in them are still being used by osimages.
rmkit kit-test1,kit-test2 --force
Output is similar to:
Kit kit-test1-1.0-Linux,kit-test2-1.0-Linux was successfully removed.
2013-12-10 05:38:41 +00:00
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
2012-10-23 12:02:39 +00:00
=head1 SEE ALSO
2013-04-10 06:36:09 +00:00
L<lskit(1)|lskit.1>, L<addkit(1)|addkit.1>, L<addkitcomp(1)|addkitcomp.1>, L<rmkitcomp(1)|rmkitcomp.1>, L<chkkitcomp(1)|chkkitcomp.1>
2012-10-23 12:02:39 +00:00
~