diff --git a/guides/common/assembly_managing-errata.adoc b/guides/common/assembly_managing-errata.adoc index 20556fa3cb..8c9d7db170 100644 --- a/guides/common/assembly_managing-errata.adoc +++ b/guides/common/assembly_managing-errata.adoc @@ -20,6 +20,10 @@ include::modules/proc_creating-a-content-view-filter-for-errata.adoc[leveloffset include::modules/proc_adding-errata-to-an-incremental-content-view.adoc[leveloffset=+1] +ifndef::satellite[] +include::modules/proc_creating-an-incremental-content-view-version-by-adding-deb-packages.adoc[leveloffset=+1] +endif::[] + include::modules/con_applying-errata-to-hosts.adoc[leveloffset=+1] ifndef::satellite[] diff --git a/guides/common/modules/proc_creating-an-incremental-content-view-version-by-adding-deb-packages.adoc b/guides/common/modules/proc_creating-an-incremental-content-view-version-by-adding-deb-packages.adoc new file mode 100644 index 0000000000..89607f0f2c --- /dev/null +++ b/guides/common/modules/proc_creating-an-incremental-content-view-version-by-adding-deb-packages.adoc @@ -0,0 +1,43 @@ +[id="creating-an-incremental-content-view-version-by-adding-deb-packages"] += Creating an incremental content view version by adding Deb packages + +You can use Hammer CLI to add packages to a content view version. +If you want to add errata to a content view version, see xref:Adding_Errata_To_An_Incremental_Content_View_{context}[]. + +[id="cli-creating-an-incremental-content-view-version-by-adding-deb-packages"] +.CLI procedure +. Search for your lifecycle environment IDs: ++ +[options="nowrap" subs="+quotes"] +---- +$ hammer lifecycle-environment list +---- +. Search for your Deb package IDs: ++ +[options="nowrap" subs="+quotes"] +---- +$ hammer deb-package list --search "_My_Search_Pattern_" +---- +. List all available content views: ++ +[options="nowrap" subs="+quotes"] +---- +$ hammer content-view list +---- +. View information of the content view that you want to add packages to: ++ +[options="nowrap" subs="+quotes"] +---- +$ hammer content-view info --id _My_Content_View_ID_ +---- +. Create an incremental content view version by adding Deb packages: ++ +[options="nowrap" subs="+quotes"] +---- +$ hammer content-view version incremental-update \ +--content-view-version-id _My_Content_View_Version_ID_ \ +--deb-ids _My_Deb_Package_ID_ \ +--lifecycle-environment-ids _My_Lifecycle_Environment_ID_ +---- ++ +You can add more Deb package IDs in a comma-separated list.