Updated addkitcomp manpage for --noupgrade option

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@15780 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
wanghuaz 2013-04-02 04:59:28 +00:00
parent e705fc08e9
commit e05b6c62b2

View File

@ -6,7 +6,7 @@ B<addkitcomp> - Assign kit components to osimage.
B<addkitcomp> [-h|--help]
B<addkitcomp> [-a|--adddeps] [-f|--force] [-V|--verbose] -i <osimage> <kitcompname_list>
B<addkitcomp> [-a|--adddeps] [-f|--force] [-n|--noupgrade] [-V|--verbose] -i <osimage> <kitcompname_list>
=head1 DESCRIPTION
@ -34,6 +34,10 @@ B<-i <osimage>>
osimage name that kit component is assigning to
B<-n|--noupgrade>
Allow multiple versions of kitcomponent to be installed into the osimage, instead of kitcomponent upgrade
B<kitcompname_list>
A comma-delimited list of valid full kit component names or kit component basenames that are to be added to the osimage.
@ -75,6 +79,21 @@ Output is similar to:
Assigning kit component comp-test1-1.0-1-rhels-6.2-ppc64 to osimage rhels6.2-ppc64-netboot-compute
Kit components comp-test1-1.0-1-rhels-6.2-ppc64 were added to osimage rhels6.2-ppc64-netboot-compute successfully
4. To assign a new version of kit component to osimage without upgrade.
addkitcomp -n -i rhels6.2-ppc64-netboot-compute comp-test2-1.0-1-rhels-6.2-ppc64
Output is similar to:
Assigning kit component comp-test1-1.0-1-rhels-6.0-ppc64 to osimage rhels6.2-ppc64-netboot-compute
Assigning kit component comp-test2-1.0-1-rhels-6.2-ppc64 to osimage rhels6.2-ppc64-netboot-compute
Kit components comp-test2-1.0-1-rhels-6.2-ppc64 were added to osimage rhels6.2-ppc64-netboot-compute successfully
The result will be:
lsdef -t osimage rhels6.2-ppc64-netboot-compute -i kitcomponents
Object name: rhels6.2-ppc64-netboot-compute
kitcomponents=comp-test2-1.0-0-rhels-6.2-ppc64,comp-test2-1.0-1-rhels-6.2-ppc64
=head1 SEE ALSO