This address [ xcat-Feature Requests-2991347 ] chtab should be able to append a new value to an attribute

I updated chtab so I added some content to the description and an example for the new usage with +=


git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@5881 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
cjhardee 2010-04-24 02:10:18 +00:00
parent 2a9a5675ce
commit c7eaf5de39

View File

@ -14,7 +14,7 @@ I<chtab -d [keycolname=keyvalue] [tablename.colname=newvalue] >
=head1 DESCRIPTION
The chtab command adds or deletes or updates the attribute value in the input table.column for the input keyvalue.
The chtab command adds or deletes or updates the attribute value in the input table.column for the input keyvalue. Normally, the given value will completely replace the current attribute value. But if "+=" is used instead of "=", the specified value will be appended to the coma separated list of the attribute, if it is not already there.
=head1 OPTIONS
@ -54,7 +54,11 @@ I<chtab node=node1 nodetype.os=rhel5>
I<chtab node=node1 nodetype.os=sles>
5. To delete node1 from nodetype table:
5. To change node1 by appending otherpkgs to the postbootscripts field in the postscripts table:
I<chtab node=node1 postscripts.postbootscripts+=otherpkgs>
6. To delete node1 from nodetype table:
I<chtab -d node=node1 nodetype>
@ -66,4 +70,4 @@ I<chtab -d node=node1 nodetype>
=head1 SEE ALSO
L<tabdump(8)|tabdump.8>, L<tabedit(8)|tabedit.8>
L<tabdump(8)|tabdump.8>, L<tabedit(8)|tabedit.8>