From 9b8843b12238ab1f0297d69000419e118ba5e6a6 Mon Sep 17 00:00:00 2001 From: linggao Date: Tue, 10 Nov 2009 16:23:35 +0000 Subject: [PATCH] more description on prescripts git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@4540 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd --- perl-xCAT/xCAT/Schema.pm | 1 + xCAT-client/pods/man8/nodeset.8.pod | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/perl-xCAT/xCAT/Schema.pm b/perl-xCAT/xCAT/Schema.pm index 48b0e3818..9f401a2ea 100644 --- a/perl-xCAT/xCAT/Schema.pm +++ b/perl-xCAT/xCAT/Schema.pm @@ -711,6 +711,7 @@ prescripts => { "\t\twhere action1 and action2 are the nodeset/nimnodeset actions specified in the command.\n". "\t\ts1 and s2 are the scripts to run for action1 in order. s3,s4,and s5 are the scripts\n". "\t\tto run for actions2. If actions are omitted, the scripts apply to all actions.\n". +"\t\tAll the scripts should be copied to /install/prescripts directory.\n". "\t\tExamples:\n". "\t\tmyscript1,myscript2\n". "\t\tinstall:myscript1,myscript2|netboot:myscript3", diff --git a/xCAT-client/pods/man8/nodeset.8.pod b/xCAT-client/pods/man8/nodeset.8.pod index 1a0fb9e3f..d9545e4df 100644 --- a/xCAT-client/pods/man8/nodeset.8.pod +++ b/xCAT-client/pods/man8/nodeset.8.pod @@ -30,7 +30,7 @@ B only sets the next boot state, but does not reboot. B is called by rinstall and winstall and is also called by the installation process remotely to set the boot state back to "boot". -User can supply their own scripts to be run on the mn or on the service node (if their is hierarchy) for a node during the nodeset command. Such scripts are called B. A table called I is used to specify the scripts and their associated actions. The scripts to be run at the beginning of the nodeset command are stored in the 'begin' column of I table. The scripts to be run at the end of the noodeset command are stored in the 'end' column of I table. Please run 'tabdump prescripts -d' command for details. The following two environment variables will be passed to each script: NODES contains all the names of the nodes that need to run the script for and ACTION contains the current nodeset action. +User can supply their own scripts to be run on the mn or on the service node (if their is hierarchy) for a node during the nodeset command. Such scripts are called B. They should be copied to /install/prescripts dirctory. A table called I is used to specify the scripts and their associated actions. The scripts to be run at the beginning of the nodeset command are stored in the 'begin' column of I table. The scripts to be run at the end of the noodeset command are stored in the 'end' column of I table. Please run 'tabdump prescripts -d' command for details. The following two environment variables will be passed to each script: NODES contains all the names of the nodes that need to run the script for and ACTION contains the current nodeset action. =head1 B