mirror of
				https://github.com/xcat2/xcat-core.git
				synced 2025-10-30 19:02:27 +00:00 
			
		
		
		
	Fix some formatting and wording for copycds command
This commit is contained in:
		| @@ -19,9 +19,9 @@ DESCRIPTION | ||||
| *********** | ||||
|  | ||||
|  | ||||
| \ **copycds-cdrom**\  is a wrapper scripts for copycds to copy from physical CD/DVD-ROM drives located on the management server. | ||||
| \ **copycds-cdrom**\  is a wrapper scripts for \ **copycds**\  to copy from physical CD/DVD-ROM drives located on the management server. | ||||
|  | ||||
| \ *[copycds options]*\  are passed unmolested to copycds. | ||||
| \ *[copycds options]*\  are passed unchanged to copycds. | ||||
|  | ||||
| If \ *[drive]*\  is not specified, /dev/cdrom is assumed. | ||||
|  | ||||
|   | ||||
| @@ -31,11 +31,11 @@ DESCRIPTION | ||||
| *********** | ||||
|  | ||||
|  | ||||
| The \ **copycds**\  command copies all contents of Distribution DVDs/ISOs or Service Pack DVDs/ISOs to a destination directory. The destination directory can be specified by the -p option. If no path is specified, the default destination directory will be formed from the \ **installdir**\  site attribute and the distro name and architecture, for example: /install/rhels6.3/x86_64. The \ **copycds**\  command can copy from one or more ISO files, or the CD/DVD device path. | ||||
| The \ **copycds**\  command copies all contents of Distribution DVDs/ISOs or Service Pack DVDs/ISOs to a destination directory. The destination directory can be specified by the \ **-p**\  option. If no path is specified, the default destination directory will be formed from the \ **installdir**\  site table attribute and the distro name and architecture, for example: /install/rhels6.3/x86_64. The \ **copycds**\  command can copy from one or more ISO files, or the CD/DVD device path. | ||||
|  | ||||
| You can specify \ **-i**\  or \ **-**\ **-inspection**\  option to check whether the DVDs/ISOs can be recognized by xCAT. If recognized, the distribution name, architecture and the disc no (the disc sequence number of DVDs/ISOs in multi-disk distribution) of the DVD/ISO is displayed. If xCAT doesn't recognize the DVD/ISO, you must manually specify the distro name and architecture using the -n and -a options. This is sometimes the case for distros that have very recently been released, and the xCAT code hasn't been updated for it yet. | ||||
| You can specify \ **-i**\  or \ **-**\ **-inspection**\  option to check whether the DVDs/ISOs can be recognized by xCAT. If recognized, the distribution name, architecture and the disc no (the disc sequence number of DVDs/ISOs in multi-disk distribution) of the DVD/ISO is displayed. If xCAT doesn't recognize the DVD/ISO, you must manually specify the distro name and architecture using the \ **-n**\  and \ **-a**\  options. This is sometimes the case for distros that have very recently been released, and the xCAT code hasn't been updated for it yet. | ||||
|  | ||||
| You can get xCAT to recognize new DVDs/ISOs by adding them to /opt/xcat/lib/perl/xCAT/data/discinfo.pm and reloading xcatd (service xcatd reload). | ||||
| You can get xCAT to recognize new DVDs/ISOs by adding them to /opt/xcat/lib/perl/xCAT/data/discinfo.pm and reloading xcatd (\ **service xcatd reload**\ ). | ||||
|  | ||||
|  | ||||
| ******* | ||||
| @@ -58,25 +58,25 @@ OPTIONS | ||||
|  | ||||
| \ **-p|-**\ **-path**\ =\ *ospkgpath*\  | ||||
|   | ||||
|  The destination directory to which the contents of ISO/DVD will be copied. When this option is not specified, the default destination directory will be formed from the \ **installdir**\  site attribute and the distro name and architecture, for example: /install/rhel6.3/x86_64. This option is only supported distributions of sles,redhat and windows. | ||||
|  The destination directory to which the contents of ISO/DVD will be copied. When this option is not specified, the default destination directory will be formed from the \ **installdir**\  site table attribute and the distro name and architecture, for example: /install/rhel6.3/x86_64. This option is only supported for distributions of sles, redhat and windows. | ||||
|   | ||||
|  | ||||
|  | ||||
| \ **-i|-**\ **-inspection**\  | ||||
|   | ||||
|  Check whether xCAT can recognize the DVDs/ISOs in the argument list, but do not copy the disc. Displays the os distribution name, architecture and disc no of each recognized DVD/ISO. This option only supported for distributions of sles,redhat and windows. | ||||
|  Check whether xCAT can recognize the DVDs/ISOs in the argument list, but do not copy the disc. Displays the os distribution name, architecture and disc no of each recognized DVD/ISO. This option is only supported for distributions of sles, redhat and windows. | ||||
|   | ||||
|  | ||||
|  | ||||
| \ **-o|-**\ **-noosimage**\  | ||||
|   | ||||
|  Do not create the default osimages based on the osdistro copied in. By default, copycds will create a set of osimages based on the osdistro. | ||||
|  Do not create the default osimages based on the osdistro copied in. By default, \ **copycds**\  will create a set of osimages based on the osdistro. | ||||
|   | ||||
|  | ||||
|  | ||||
| \ **-w|-**\ **-nonoverwrite**\  | ||||
|   | ||||
|  Complain and exit if the os disc has already been copied in. By default, copycds will overwrite the os disc already copied in. | ||||
|  Complain and exit if the os disc has already been copied in. By default, \ **copycds**\  will overwrite the os disc already copied in. | ||||
|   | ||||
|  | ||||
|  | ||||
| @@ -155,7 +155,7 @@ EXAMPLES | ||||
|   | ||||
|  .. code-block:: perl | ||||
|   | ||||
|    copycds -n /isodir/RHEL6.5/RHEL6.5-Supplementary-20131114.2-Server-ppc64-DVD1.iso -n rhels6.5-supp | ||||
|    copycds /isodir/RHEL6.5/RHEL6.5-Supplementary-20131114.2-Server-ppc64-DVD1.iso -n rhels6.5-supp | ||||
|   | ||||
|   | ||||
|  Also, remember to add the new directory to your osimage definition: | ||||
|   | ||||
| @@ -10,9 +10,9 @@ B<copycds-cdrom> I<[copycds options]> I<[drive]> | ||||
|  | ||||
| =head1 DESCRIPTION | ||||
|  | ||||
| B<copycds-cdrom> is a wrapper scripts for copycds to copy from physical CD/DVD-ROM drives located on the management server. | ||||
| B<copycds-cdrom> is a wrapper scripts for B<copycds> to copy from physical CD/DVD-ROM drives located on the management server. | ||||
|  | ||||
| I<[copycds options]> are passed unmolested to copycds. | ||||
| I<[copycds options]> are passed unchanged to copycds. | ||||
|  | ||||
| If I<[drive]> is not specified, /dev/cdrom is assumed. | ||||
|  | ||||
|   | ||||
| @@ -12,11 +12,11 @@ B<copycds> [B<-h>|B<--help>] | ||||
|  | ||||
| =head1 DESCRIPTION | ||||
|  | ||||
| The B<copycds> command copies all contents of Distribution DVDs/ISOs or Service Pack DVDs/ISOs to a destination directory. The destination directory can be specified by the -p option. If no path is specified, the default destination directory will be formed from the B<installdir> site attribute and the distro name and architecture, for example: /install/rhels6.3/x86_64. The B<copycds> command can copy from one or more ISO files, or the CD/DVD device path. | ||||
| The B<copycds> command copies all contents of Distribution DVDs/ISOs or Service Pack DVDs/ISOs to a destination directory. The destination directory can be specified by the B<-p> option. If no path is specified, the default destination directory will be formed from the B<installdir> site table attribute, distro name and architecture, for example: /install/rhels6.3/x86_64. The B<copycds> command can copy from one or more ISO files, or the CD/DVD device path. | ||||
|  | ||||
| You can specify B<-i> or B<--inspection> option to check whether the DVDs/ISOs can be recognized by xCAT. If recognized, the distribution name, architecture and the disc no (the disc sequence number of DVDs/ISOs in multi-disk distribution) of the DVD/ISO is displayed. If xCAT doesn't recognize the DVD/ISO, you must manually specify the distro name and architecture using the -n and -a options. This is sometimes the case for distros that have very recently been released, and the xCAT code hasn't been updated for it yet. | ||||
| You can specify B<-i> or B<--inspection> option to check whether the DVDs/ISOs can be recognized by xCAT. If recognized, the distribution name, architecture and the disc no (the disc sequence number of DVDs/ISOs in multi-disk distribution) of the DVD/ISO is displayed. If xCAT doesn't recognize the DVD/ISO, you must manually specify the distro name and architecture using the B<-n> and B<-a> options. This is sometimes the case for distros that have very recently been released, and the xCAT code hasn't been updated for it yet. | ||||
|  | ||||
| You can get xCAT to recognize new DVDs/ISOs by adding them to /opt/xcat/lib/perl/xCAT/data/discinfo.pm and reloading xcatd (service xcatd reload). | ||||
| You can get xCAT to recognize new DVDs/ISOs by adding them to /opt/xcat/lib/perl/xCAT/data/discinfo.pm and reloading xcatd (B<service xcatd reload>). | ||||
|  | ||||
| =head1 OPTIONS | ||||
|  | ||||
| @@ -28,23 +28,23 @@ The linux distro name and version that the ISO/DVD contains.  Examples:  rhels6. | ||||
|  | ||||
| =item B<-a|--arch>=I<architecture> | ||||
|  | ||||
| The architecture of the linux distro on the ISO/DVD.  Examples:  x86, x86_64, ppc64, s390x. | ||||
| The architecture of the linux distro on the ISO/DVD.  Examples: x86, x86_64, ppc64, s390x. | ||||
|  | ||||
| =item B<-p|--path>=I<ospkgpath> | ||||
|  | ||||
| The destination directory to which the contents of ISO/DVD will be copied. When this option is not specified, the default destination directory will be formed from the B<installdir> site attribute and the distro name and architecture, for example: /install/rhel6.3/x86_64. This option is only supported distributions of sles,redhat and windows. | ||||
| The destination directory to which the contents of ISO/DVD will be copied. When this option is not specified, the default destination directory will be formed from the B<installdir> site table attribute and the distro name and architecture, for example: /install/rhel6.3/x86_64. This option is only supported for distributions of sles, redhat and windows. | ||||
|  | ||||
| =item B<-i|--inspection> | ||||
|  | ||||
| Check whether xCAT can recognize the DVDs/ISOs in the argument list, but do not copy the disc. Displays the os distribution name, architecture and disc no of each recognized DVD/ISO. This option only supported for distributions of sles,redhat and windows. | ||||
| Check whether xCAT can recognize the DVDs/ISOs in the argument list, but do not copy the disc. Displays the os distribution name, architecture and disc no of each recognized DVD/ISO. This option is only supported for distributions of sles, redhat and windows. | ||||
|  | ||||
| =item B<-o|--noosimage> | ||||
|  | ||||
| Do not create the default osimages based on the osdistro copied in. By default, copycds will create a set of osimages based on the osdistro. | ||||
| Do not create the default osimages based on the osdistro copied in. By default, B<copycds> will create a set of osimages based on the osdistro. | ||||
|  | ||||
| =item B<-w|--nonoverwrite> | ||||
|  | ||||
| Complain and exit if the os disc has already been copied in. By default, copycds will overwrite the os disc already copied in. | ||||
| Complain and exit if the os disc has already been copied in. By default, B<copycds> will overwrite the os disc already copied in. | ||||
|  | ||||
| =back | ||||
|  | ||||
| @@ -90,7 +90,7 @@ For the attributes that are not recognized, the value will be blank. | ||||
| =item 5. | ||||
| To copy the packages from a supplemental DVD ISO file: | ||||
|  | ||||
|  copycds -n /isodir/RHEL6.5/RHEL6.5-Supplementary-20131114.2-Server-ppc64-DVD1.iso -n rhels6.5-supp | ||||
|  copycds /isodir/RHEL6.5/RHEL6.5-Supplementary-20131114.2-Server-ppc64-DVD1.iso -n rhels6.5-supp | ||||
|  | ||||
| Also, remember to add the new directory to your osimage definition: | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user