diff --git a/docs/source/guides/admin-guides/manage_clusters/common/deployment/use_kernel_patch.rst b/docs/source/guides/admin-guides/manage_clusters/common/deployment/use_kernel_patch.rst new file mode 100644 index 000000000..6ad4b7782 --- /dev/null +++ b/docs/source/guides/admin-guides/manage_clusters/common/deployment/use_kernel_patch.rst @@ -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-.rpm. Append new kernel packages directory to osimage pkgdir :: + + mkdir -p /install/kernels/ + cp /tmp/kernel-*.rpm /install/kernels/ + createrepo /install/kernels// + chdef -t osimage rhels7.3-ppc64le-install-compute -p pkgdir=/install/kernels/ + +#. Inject the drivers from the new kernel RPMs into the initrd :: + + mkdef -t osdistroupdate kernelupdate dirpath=/install/kernels// + 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 osimage=rhels7.3-ppc64le-install-compute --noupdateinitrd + +#. Boot CN from net normallly. diff --git a/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/index.rst b/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/index.rst index 5b0cecea4..6a99eb8ac 100644 --- a/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/index.rst +++ b/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/index.rst @@ -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 diff --git a/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/use_kernel_patch.rst b/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/use_kernel_patch.rst new file mode 100644 index 000000000..185ae7105 --- /dev/null +++ b/docs/source/guides/admin-guides/manage_clusters/ppc64le/diskful/customize_image/use_kernel_patch.rst @@ -0,0 +1,2 @@ +.. include:: ../../../common/deployment/use_kernel_patch.rst +