chtab - Add, delete or update rows in the database tables.
chtab [-h | --help]
chtab [-v | --version]
chtab keycolname=keyvalue[,keycolname=keyvalue,...] tablename.colname=newvalue [tablename.colname=newvalue ...]
chtab keycolname=keyvalue[,keycolname=keyvalue,...] tablename.colname+=newvalue [tablename.colname+=newvalue ...]
chtab -d keycolname=keyvalue[,keycolname=keyvalue,...] tablename [tabname ...]
The chtab command adds, deletes or updates the attribute values in the specified table.column for the specified 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 comma separated list of attributes, if it is not already there.
The chtab does not pass through xcatd, so it is not controlled by the policy mechanism.
-h Display usage message.
-v Command Version.
-d Delete option.
chtab node=node1 nodelist.groups=all
chtab key=tftpdir site.value=/tftpboot
chtab node=node1 nodetype.os=rhel5
chtab node=node1 nodetype.os=sles
chtab node=node1 postscripts.postbootscripts+=otherpkgs
chtab -d node=node1 nodetype
/opt/xcat/bin/chtab