2
0
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:
Yuan Bai
2017-07-04 16:08:34 +08:00
committed by yangsong
parent d9ab5b7558
commit 2c8564b492
3 changed files with 27 additions and 0 deletions

View File

@@ -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.

View File

@@ -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

View File

@@ -0,0 +1,2 @@
.. include:: ../../../common/deployment/use_kernel_patch.rst