Skip to content

5.0 bsc1246422 add third party channels #4181

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

Draft
wants to merge 3 commits into
base: manager-5.0
Choose a base branch
from
Draft
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
1 change: 1 addition & 0 deletions modules/administration/nav-administration-guide.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ endif::[]
*** xref:custom-channels.adoc[Custom Channels]

ifeval::[{suma-content} == true]
*** xref:third-party-channels.adoc[Third-Party Channels]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why only in "suma-content".
I think Uyuni user have the same problems

*** xref:removing-channels.adoc[Remove Channels]
endif::[]

Expand Down
31 changes: 31 additions & 0 deletions modules/administration/pages/third-party-channels.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
[[third-party-channels]]
= Third-party Channels

{productname} includes the ability to synchronize the content of optional third-party repositories with some of the products that can be managed by it.

Some third-party GPG keys are included by default in the {productname} database, and some are not.
For third-party keys that are not included, the relevant keys need to be imported when choosing to synchronize such third-party repositories.

To import a GPG key, use the following command syntax, executing the command on the {productname} host server:

----
# mgradm gpg add <path-to-gpg-key-file-or-URL>
----

. Example: Adding a GPG key from a file:

----
# mgradm gpg add repomd.xml.key
----

. Example: Adding a GPG key from a remote repository using a URL:

----
# mgradm gpg add https://public.dhe.ibm.com/software/server/POWER/Linux/yum/OSS/SLES/15/ppc64le/repodata/repomd.xml.key
----

To list the keys currently held in the {productname} GPG database, run the following command from inside the server container:

----
# gpg --homedir /var/lib/spacewalk/gpgdir --list-keys
Comment on lines +27 to +30
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can also write it this way:

Suggested change
To list the keys currently held in the {productname} GPG database, run the following command from inside the server container:
----
# gpg --homedir /var/lib/spacewalk/gpgdir --list-keys
To list the keys currently held in the {productname} GPG database, run the following command:
----
# mgrctl exec -ti -- gpg --homedir /var/lib/spacewalk/gpgdir --list-keys

----
Loading