Skip to content

Commit

Permalink
Use common Client OS attributes for KernelCare (#3511)
Browse files Browse the repository at this point in the history
  • Loading branch information
maximiliankolb authored Dec 10, 2024
1 parent 9068144 commit e5b4f53
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
9 changes: 6 additions & 3 deletions guides/common/assembly_using-kernelcare.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,17 @@ include::modules/proc_installing-the-kernelcare-plugin.adoc[leveloffset=+1]
ifdef::katello,orcharhino[]
include::modules/con_kernelcare_client.adoc[leveloffset=+1]

:os_major: 9
:parent-client-os-major: {client-os-major}
:client-os-major: 9
include::modules/proc_creating-kernelcare-repositories-el.adoc[leveloffset=+2]

:os_major: 8
:client-os-major: 8
include::modules/proc_creating-kernelcare-repositories-el.adoc[leveloffset=+2]

:os_major: 7
:client-os-major: 7
include::modules/proc_creating-kernelcare-repositories-el.adoc[leveloffset=+2]
:client-os-major: {parent-client-os-major}
:!parent-client-os-major:
endif::[]

include::modules/proc_installing-the-kernelcare-package-on-hosts.adoc[leveloffset=+1]
Expand Down
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
[id="Creating_KernelCare_Repositories_for_{EL}_{os_major}_{context}"]
= Creating KernelCare repositories for {EL} {os_major}
[id="Creating_KernelCare_Repositories_for_{client-os-context}_{client-os-major}_{context}"]
= Creating KernelCare repositories for {client-os} {client-os-major}

You need to provide the KernelCare client on your hosts to live-patch their Linux kernel.

.Procedure
. In the {ProjectWebUI}, navigate to *Content* > *Products*.
. Click *Create Product* to create a product named `KernelCare {EL}`.
. Click *Create Product* to create a product named `KernelCare {client-os}`.
For more information, see {ContentManagementDocURL}Creating_a_Custom_Product_content-management[Creating a product] in _{ContentManagementDocTitle}_.
. On the *Repositories* tab, click *New Repository* to create a repository of type `yum` as follows:
+
* *Name*: `KernelCare {EL} {os_major}`
* *Upstream URL*: `https://repo.cloudlinux.com/kernelcare/{os_major}/x86_64/`
* *Name*: `KernelCare {client-os} {client-os-major}`
* *Upstream URL*: `https://repo.cloudlinux.com/kernelcare/{client-os-major}/x86_64/`
* Optional: Add the KernelCare GPG pub key as content credential: `https://repo.cloudlinux.com/kernelcare/RPM-GPG-KEY-KernelCare`.

+
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ If the automatic installation of patches is disabled or if you want to install p

.Prerequisites
* Ensure your hosts have the `kernelcare` package installed.
* Ensure your hosts run {EL} 7, {EL} 8, or {EL} 9.
* Ensure your hosts have access to the internet to connect to cloudlinux.com.
+
If your host is in a disconnected environment, you can use ePortal by Tuxcare to provide Linux kernel patches.
Expand Down

0 comments on commit e5b4f53

Please sign in to comment.