mirror of
https://github.com/xcat2/xcat-core.git
synced 2025-08-20 10:10:22 +00:00
fix new doc for diskful new kernel patch (#3381)
* diskful kernel patch * enhanced based on comments
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
Use new kernel patch
|
||||
====================
|
||||
|
||||
This procedure assumes there are kernel RPM in /tmp, we take the osimage **rhels7.3-ppc64le-install-compute** as an example.
|
||||
The RPM names below are only examples, substitute your specific level and architecture.
|
||||
|
||||
* **[RHEL]**
|
||||
|
||||
#. The RPM kernel package is usually named: kernel-<kernelver>.rpm. Append new kernel packages directory to osimage pkgdir ::
|
||||
|
||||
mkdir -p /install/kernels/<kernelver>
|
||||
cp /tmp/kernel-*.rpm /install/kernels/<kernelver>
|
||||
createrepo /install/kernels/<kernelver>/
|
||||
chdef -t osimage rhels7.3-ppc64le-install-compute -p pkgdir=/install/kernels/<kernelver>
|
||||
|
||||
#. Inject the drivers from the new kernel RPMs into the initrd ::
|
||||
|
||||
mkdef -t osdistroupdate kernelupdate dirpath=/install/kernels/<kernelver>/
|
||||
chdef -t osimage rhels7.3-ppc64le-install-compute osupdatename=kernelupdate
|
||||
chdef -t osimage rhels7.3-ppc64le-install-compute netdrivers=updateonly
|
||||
genitrd rhels7.3-ppc64le-install-compute --ignorekernelchk
|
||||
nodeset <CN> osimage=rhels7.3-ppc64le-install-compute --noupdateinitrd
|
||||
|
||||
#. Boot CN from net normallly.
|
@@ -11,6 +11,7 @@ Optional means all the subitems in this page are not necessary to finish an OS d
|
||||
pre_post_script.rst
|
||||
syncfile.rst
|
||||
additional_pkg.rst
|
||||
use_kernel_patch.rst
|
||||
cfg_network_adapter.rst
|
||||
|
||||
|
||||
|
@@ -0,0 +1,2 @@
|
||||
.. include:: ../../../common/deployment/use_kernel_patch.rst
|
||||
|
Reference in New Issue
Block a user