From 2b8f1e3f1c0e295ab5a51b66e10a391480897ce1 Mon Sep 17 00:00:00 2001 From: daniceexi Date: Tue, 19 Nov 2013 06:59:37 -0500 Subject: [PATCH] Change the man pages of nodeset,genimage and geninitrd commands for adding --ignorekernelchk option --- xCAT-client/pods/man1/genimage.1.pod | 5 ++++- xCAT-client/pods/man1/geninitrd.1.pod | 9 ++++++++- xCAT-client/pods/man8/nodeset.8.pod | 6 +++++- 3 files changed, 17 insertions(+), 3 deletions(-) diff --git a/xCAT-client/pods/man1/genimage.1.pod b/xCAT-client/pods/man1/genimage.1.pod index 9a65efa24..453dbef78 100644 --- a/xCAT-client/pods/man1/genimage.1.pod +++ b/xCAT-client/pods/man1/genimage.1.pod @@ -8,7 +8,7 @@ B B B<-o> I [B<-a> I] B<-p> I B<-i> I B<-n> I [B<--onlyinitrd>] [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<--permission> I] [B<--interactive>] [B<--dryrun>] -B [B<-o> I] [B<-a> I] [B<-p> I] [B<-i> I] [B<-n> I] [B<--onlyinitrd>] [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<--permission> I] [B<--interactive>] [B<--dryrun>] I +B [B<-o> I] [B<-a> I] [B<-p> I] [B<-i> I] [B<-n> I] [B<--onlyinitrd>] [B<-r> I] [B<-k> I] [B<-g> I] [B<-m> I] [B<-l> I] [B<--permission> I] [B<--interactive>] [B<--dryrun>] [B<--ignorekernelchk>] I B [B<-h> | B<--help> | B<-v> | B<--version>] @@ -151,6 +151,9 @@ This flag shows the underlying call to the os specific genimage function. The us (Deprecated) This flag allows the user to setup the /tmp and the /var/tmp file system sizes. This flag is no longer supported. You can overwrite any file system size using the .postinstall script where you can create a new /etc/fstab file. +=item B<--ignorekernelchk> + +Skip the kernel version checking when injecting drivers from osimage.driverupdatesrc. That means all drivers from osimage.driverupdatesrc will be injected to initrd for the specific target kernel. =item B<-v|--version> diff --git a/xCAT-client/pods/man1/geninitrd.1.pod b/xCAT-client/pods/man1/geninitrd.1.pod index 65de247df..ef328b917 100644 --- a/xCAT-client/pods/man1/geninitrd.1.pod +++ b/xCAT-client/pods/man1/geninitrd.1.pod @@ -4,7 +4,7 @@ B - Generate an initrd (initial ramfs) which to be used for statefull =head1 SYNOPSIS -B +B I [B<--ignorekernelchk>] B [B<-h> | B<--help>] @@ -66,6 +66,13 @@ B - comma separated driver rpm packages (full path should be sp I specifies the name of an os image definition to be used. The specification for the image is storted in the I table and I table. +=over 12 + +=item B<--ignorekernelchk> + +Skip the kernel version checking when injecting drivers from osimage.driverupdatesrc. That means all drivers from osimage.driverupdatesrc will be injected to initrd for the specific target kernel. + +=back =head1 RETURN VALUE diff --git a/xCAT-client/pods/man8/nodeset.8.pod b/xCAT-client/pods/man8/nodeset.8.pod index e0a2e6b74..997523f9d 100644 --- a/xCAT-client/pods/man8/nodeset.8.pod +++ b/xCAT-client/pods/man8/nodeset.8.pod @@ -6,7 +6,7 @@ B - set the boot state for a noderange B [I] [I|I|I|I|I|I|I|I|I>]] -B I [I> I<--noupdateinitrd>] +B I I> [I<--noupdateinitrd>] [I<--ignorekernelchk>] B [I<-h>|I<--help>|I<-v>|I<--version>] @@ -74,6 +74,10 @@ Prepare server for installing a node using the specified os image. The os image Skip the rebuilding of initrd when the 'netdrivers', 'drvierupdatesrc' or 'osupdatename' were set for injecting new drviers to initrd. But, the geninitrd command should be run to rebuild the initrd for new drivers injecting. This is used to improve the performance of nodeset command. +=item B<--ignorekernelchk> + +Skip the kernel version checking when injecting drivers from osimage.driverupdatesrc. That means all drivers from osimage.driverupdatesrc will be injected to initrd for the specific target kernel. + =item B=> If you would like to run a task after deployment, you can define that task with this attribute.