This command is used to change xCAT object definitions which are stored in the xCAT database. The default is to replace any existing attribute value with the one specified on the command line. The command will also create a new definition if one doesn't exist.
.SH"OPTIONS"
.IXHeader"OPTIONS"
\&\fBattr=val [attr=val ...]\fR Specifies one or more \*(L"attribute equals value\*(R" pairs, separated by spaces. Attr=val pairs must be specified last on the command line. Use the help option to get a list of valid attributes for each object type.
.PP
\&\fB\-h |\-\-help\fR Display usage message.
.PP
\&\fB\-m |\-\-minus\fR If the value of the attribute is a list then this option may be used to remove one or more items from the list.
.PP
\&\fBnoderange\fR A set of comma delimited node names and/or group names. (must be the first parameter) See the \*(L"noderange\*(R" man page for details on supported formats.
.PP
\&\fB\-o object-names\fR A set of comma delimited object names.
.PP
\&\fB\-p |\-\-plus\fR This option will add the specified values to the existing value of the attribute. It will create a comma-separated list of values.
.PP
\&\fB\-t object-types\fR A set of comma delimited object types. Use the help option to get a list of valid object types.
.PP
\&\fB\-V |\-\-verbose\fR Verbose mode.
.PP
\&\fB\-w attr=val,[attr=val...]\fR A comma-separated list of attributes and values that can be used to select objects. Use the help option to get a list of validattributes for each object type.
.PP
\&\fB\-x | \-\-xml\fR Indicates that the file being piped to the command is in \s-1XML\s0 format.
.PP
\&\fB\-z | \-\-stanza\fR Indicates that the file being piped to the command is in stanza format.
.SH"RETURN VALUE"
.IXHeader"RETURN VALUE"
0 The command completed successfully.
.PP
1 An error has occurred.
.SH"EXAMPLES"
.IXHeader"EXAMPLES"
1. To change a site definition.
.PP
\&\fIchdef \-t site \-o clustersite rsh=/bin/rsh rcp=/bin/rcp installdir=/xcatinstall\fR