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

Fabiano Fidêncio fidencio at redhat.com
Tue Jan 17 18:45:59 UTC 2017


On Tue, Jan 17, 2017 at 6:14 PM, Debarshi Ray <rishi.is at lostca.se> wrote:
> 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.

Well, --username, --password may not be the ideal for what you're
trying toa achieve with Boxes but it's, IMO, still valid to have
support for it.

Alternatively, we can add support to --activationkey without any issue.

>
> Cheers,
> Rishi
>
> _______________________________________________
> Libosinfo mailing list
> Libosinfo at redhat.com
> https://www.redhat.com/mailman/listinfo/libosinfo




More information about the Libosinfo mailing list