How to promote new version of a Content View in Redhat Satellite 6.5 ?

In this article, we will look how to promote a new version of Content View in Redhat Satellite Version 6.

There are two steps to do this task, lets have a look on each step.

1. Get the version of CV we wish to promote.

[root@ngelinux1 ~]# hammer content-view version list --content-view "CV RHEL Server 7.9 2021Jan01" --organization NGEL
----|---------------------------------|---------|-----------------------
ID | NAME | VERSION | LIFECYCLE ENVIRONMENTS
----|---------------------------------|---------|-----------------------
118 | CV RHEL Server 7.9 2021Jan01 2.0 | 2.0 | Library
92 | CV RHEL Server 7.9 2021Jan01 1.0 | 1.0 |
----|---------------------------------|---------|-----------------------

 

2. Now force new version of CV to promote it.

[root@ngelinux1 ~]# hammer content-view version promote --version 2.0 --organization "NGEL" --content-view "CV RHEL Server 7.9 2021Jan01" --to-lifecycle-environment PROD --force --async > /dev/null 2>&1
[root@ngelinux1 ~]#

Leave a Reply

Your email address will not be published.