[Libosinfo] [osinfo-db v2] rhel: Add support to registering to the subscription-manager

Debarshi Ray rishi.is at lostca.se
Tue Jan 17 17:14:15 UTC 2017


Hey,

On Mon, Jan 16, 2017 at 07:29:32PM +0100, Fabiano Fid??ncio wrote:
> +if [ -n "<xsl:value-of select="config/reg-login"/>" -a -n "<xsl:value-of select="config/reg-password"/>" ]; then
> +    subscription-manager register --username <xsl:value-of select="config/reg-login"/> --password <xsl:value-of select="config/reg-password"/> --auto-attach
> +fi
> +

I am not 100% sure that --username and --password are the best choices
for a kickstart file. Especially the password.

subscription-manager(8) has this concept of activation keys
(subscription-manager register --activationkey=<...>), which is more
suitable for this case. However, I don't know if it works with every
subscription management server. I am particularly interested in
developers.redhat.com.

Cheers,
Rishi




More information about the Libosinfo mailing list