How to add GPG key to clone channel or repository created using pulp-admin on RHUI ?
Issue
- How do we add a GPG key to cloned repositories/channels on RHUI 2.1?
- We created multiple clones of the Red-Hat-provided channels to allow controlled patching. However, the generated yum repository file has GPG checks disabled:
[custom-rhel6]
name=Custom RHEL6 Repository
mirrorlist=https://hostname.example.com/mirror/rhel6
enabled=1
gpgcheck=0
sslverify=1
sslcacert=/etc/pki/entitlement/ca.crt
sslclientcert=/etc/pki/entitlement/product/content.crt
sslclientkey=/etc/pki/entitlement/key.pem
Environment
- Red Hat Update Infrastructure (RHUI) 2.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.