Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create incremental CVs by adding Deb packages #3403

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions guides/common/assembly_managing-errata.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down
Original file line number Diff line number Diff line change
@@ -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.