mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-06-15 10:50:28 +00:00
Remove trailing spaces in file docs/source/guides/admin-guides/manage_clusters/common/deployment/driver_update_disk.rst
This commit is contained in:
@ -25,7 +25,7 @@ There are two approaches for xCAT to find the driver disk (pick one):
|
||||
|
||||
chdef -t osimage <osimagename> driverupdatesrc=dud:<full path of driver disk>
|
||||
|
||||
#. Put the driver update disk in the directory ``<installroot>/driverdisk/<os>/<arch>`` (example: ``/install/driverdisk/sles11.1/x86_64``).
|
||||
#. Put the driver update disk in the directory ``<installroot>/driverdisk/<os>/<arch>`` (example: ``/install/driverdisk/sles11.1/x86_64``).
|
||||
|
||||
During the running of the ``genimage``, ``geninitrd``, or ``nodeset`` commands, xCAT will look for driver update disks in the directory ``<installroot>/driverdisk/<os>/<arch>``.
|
||||
|
||||
@ -68,22 +68,22 @@ If 'osupdatename' is specified, the kernel shipped with the 'osupdatename' will
|
||||
|
||||
#. ::
|
||||
nodeset <noderange> osimage=<osimagename>
|
||||
|
||||
|
||||
#. ::
|
||||
geninitrd <osimagename>
|
||||
nodeset <noderange> osimage=<osimagename> --noupdateinitrd
|
||||
|
||||
**Note:** 'geninitrd' + 'nodeset --noupdateinitrd' is useful when you need to run nodeset frequently for a diskful node. 'geninitrd' only needs be run once to rebuild the initrd and 'nodeset --noupdateinitrd' will not touch the initrd and kernel in /tftpboot/xcat/osimage/<osimage name>/.
|
||||
|
||||
- If putting the driver disk in <installroot>/driverdisk/<os>/<arch>:
|
||||
- If putting the driver disk in <installroot>/driverdisk/<os>/<arch>:
|
||||
|
||||
Running 'nodeset <nodenrage>' in anyway will load the driver disk
|
||||
|
||||
.. END_inject_into_initrd__for_diskful_for_DUD
|
||||
.. END_inject_into_initrd__for_diskful_for_DUD
|
||||
|
||||
.. BEGIN__inject_into_initrd__for_diskful_for_RPM
|
||||
.. BEGIN__inject_into_initrd__for_diskful_for_RPM
|
||||
|
||||
There are two ways to inject drivers:
|
||||
There are two ways to inject drivers:
|
||||
|
||||
#. Using nodeset command only: ::
|
||||
|
||||
@ -97,7 +97,7 @@ There are two ways to inject drivers:
|
||||
**Note:** 'geninitrd' + 'nodeset --noupdateinitrd' is useful when you need to run nodeset frequently for diskful nodes. 'geninitrd' only needs to be run once to rebuild the initrd and 'nodeset --noupdateinitrd' will not touch the initrd and kernel in /tftpboot/xcat/osimage/<osimage name>/.
|
||||
|
||||
The option '--ignorekernelchk' is used to skip the kernel version checking when injecting drivers from osimage.driverupdatesrc. To use this flag, you should make sure the drivers in the driver rpms are usable for the target kernel.
|
||||
.. END_inject_into_initrd__for_diskful_for_RPM
|
||||
.. END_inject_into_initrd__for_diskful_for_RPM
|
||||
|
||||
.. BEGIN_inject_into_initrd__for_diskless_for_DUD
|
||||
|
||||
@ -106,20 +106,20 @@ The option '--ignorekernelchk' is used to skip the kernel version checking when
|
||||
Run the following command: ::
|
||||
|
||||
genimage <osimagename>
|
||||
|
||||
- If putting the driver disk in <installroot>/driverdisk/<os>/<arch>:
|
||||
|
||||
- If putting the driver disk in <installroot>/driverdisk/<os>/<arch>:
|
||||
|
||||
Running 'genimage' in anyway will load the driver disk
|
||||
.. END_inject_into_initrd__for_diskless_for_DUD
|
||||
|
||||
.. BEGIN_inject_into_initrd__for_diskless_for_RPM
|
||||
|
||||
.. BEGIN_inject_into_initrd__for_diskless_for_RPM
|
||||
|
||||
Run the following command: ::
|
||||
|
||||
genimage <osimagename> [--ignorekernelchk]
|
||||
|
||||
The option '--ignorekernelchk' is used to skip the kernel version checking when injecting drivers from osimage.driverupdatesrc. To use this flag, you should make sure the drivers in the driver rpms are usable for the target kernel.
|
||||
.. END_inject_into_initrd__for_diskless_for_RPM
|
||||
.. END_inject_into_initrd__for_diskless_for_RPM
|
||||
|
||||
.. BEGIN_node
|
||||
|
||||
|
Reference in New Issue
Block a user