Add site example

git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@416 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
This commit is contained in:
lissav 2008-02-07 19:10:29 +00:00
parent df80d67b58
commit f12614a99d

View File

@ -1,5 +1,5 @@
.\" Automatically generated by Pod::Man version 1.02
.\" Wed Feb 6 11:32:40 2008
.\" Thu Feb 7 13:49:51 2008
.\"
.\" Standard preamble:
.\" ======================================================================
@ -138,7 +138,7 @@
.\" ======================================================================
.\"
.IX Title "CHTAB.1 1"
.TH CHTAB.1 1 "perl v5.6.0" "2008-02-06" "User Contributed Perl Documentation"
.TH CHTAB.1 1 "perl v5.6.0" "2008-02-07" "User Contributed Perl Documentation"
.UC
.SH "NAME"
\&\fBchtab\fR \-To add, delete or update rows in the database tables.
@ -174,15 +174,19 @@
.PP
\&\fIchtab node=node1 nodelist.groups=all \fR
.PP
2. To add node1 to the nodetype table with os=rhel5:
2. To add a keyword (tftpdir) and value (/tftpboot) to the site table:
.PP
\&\fIchtab key=tftpdir site.value=/tftpboot \fR
.PP
3. To add node1 to the nodetype table with os=rhel5:
.PP
\&\fIchtab node=node1 nodetype.os=rhel5\fR
.PP
3. To change node1 in nodetype table setting os=sles:
4. To change node1 in nodetype table setting os=sles:
.PP
\&\fIchtab node=node1 nodetype.os=sles\fR
.PP
4. To delete node1 from nodetype table:
5. To delete node1 from nodetype table:
.PP
\&\fIchtab \-d node=node1 nodetype\fR
.SH "FILES"