From f31929b4b37d51a167c539b1319c6f4a22739ad7 Mon Sep 17 00:00:00 2001 From: GONG Jie Date: Sun, 31 Dec 2017 23:59:59 +0000 Subject: [PATCH] Remove trailing spaces in file xCAT-client/pods/man1/xcatchroot.1.pod --- xCAT-client/pods/man1/xcatchroot.1.pod | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/xCAT-client/pods/man1/xcatchroot.1.pod b/xCAT-client/pods/man1/xcatchroot.1.pod index 5d149a47c..d899a82e1 100644 --- a/xCAT-client/pods/man1/xcatchroot.1.pod +++ b/xCAT-client/pods/man1/xcatchroot.1.pod @@ -10,7 +10,7 @@ B I =head1 DESCRIPTION -For AIX diskless images this command will modify the AIX SPOT resource using +For AIX diskless images this command will modify the AIX SPOT resource using the chroot command. You must include the name of an xCAT osimage definition and the command that you wish to have run in the spot. @@ -36,30 +36,30 @@ check operation on the spot. =back -The xcatchroot command will take care of any of the required setup so that +The xcatchroot command will take care of any of the required setup so that the command you provide will be able to run in the spot chroot environment. It will also mount the lpp_source resource listed in the osimage definition so that you can access additional software that you may wish to install. -For example, assume that the location of the spot named in the xCAT osimage +For example, assume that the location of the spot named in the xCAT osimage definition is /install/nim/spot/614spot/usr. The associated root directory in this spot would be /install/nim/spot/614spot/usr/lpp/bos/inst_root. The chroot -is automatically done to this new root directory. The spot location is +is automatically done to this new root directory. The spot location is mounted on /.../inst_root/usr so that when your command is run in the chroot environment it is actually running commands from the spot usr location. -Also, the location of the lpp_source resource specified in the osimage +Also, the location of the lpp_source resource specified in the osimage definition will be mounted to a subdirectory of the spot /.../inst_root -directory. For example, if the lpp_source location is +directory. For example, if the lpp_source location is /install/nim/lpp_source/614lpp_lpp_source then that would be mounted over -/install/nim/spot/614spot/usr/lpp/bos/inst_root/lpp_source. +/install/nim/spot/614spot/usr/lpp/bos/inst_root/lpp_source. When you provide a command string to run make sure you give the full paths of all commands and files assuming the /.../inst_root directory is you root -directory. +directory. If you wish to install software from the lpp_source location you would -provide a directory location of /lpp_source (or /lpp_source/installp/ppc +provide a directory location of /lpp_source (or /lpp_source/installp/ppc or /lpp_source/RPMS/ppc etc.) See the example below. Always run the NIM check operation after you are done updating your spot. @@ -67,11 +67,11 @@ Always run the NIM check operation after you are done updating your spot. =head1 OPTIONS -=over 10 +=over 10 =item I -The command you wish to have run in the chroot environment. (Use a quoted +The command you wish to have run in the chroot environment. (Use a quoted string.) =item B<-h |--help> @@ -80,7 +80,7 @@ Display usage message. =item B<-i> I -The name of the xCAT osimage definition. +The name of the xCAT osimage definition. =item B<-V |--verbose> @@ -102,7 +102,7 @@ An error has occurred. =head1 EXAMPLES -1) Set the root password to "cluster" in the spot so that when the diskless +1) Set the root password to "cluster" in the spot so that when the diskless node boots it will have a root password set. xcatchroot -i 614spot "/usr/bin/echo root:cluster | /usr/bin/chpasswd -c"