chtab - Add, delete or update rows in the database tables.
chtab [-h | --help]
chtab [-v | --version]
chtab [keycolname=keyvalue] [tablename.colname=newvalue]
chtab [keycolname=keyvalue] [tablename.colname+=newvalue]
chtab -d [keycolname=keyvalue] [tablename.colname=newvalue]
The chtab command adds, deletes or updates the attribute value 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 coma separated list of the attribute, if it is not already there.
The chtab is designed to work without passing xcatd, so it's out of control of 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