On 02.08.2012 11:15, Jan Pazdziora wrote:

* inventing a new architecture "bootstrap-linux" that automatically
gets the new entitlement during registration.

Could you please explain some more why new architecture is needed?
Won't we actually need to know what architecture (the physical one)
the machine is?

I wanted to clean up the patch today and noticed, that we still need the architecture. The architecture is directly connected to the new bootstrap-entitlement in the database via rhnServerServerGroupArchCompat table:


insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type)
    values (lookup_server_arch('bootstrap-linux'),
            lookup_sg_type('bootstrap_entitled'));

insert into rhnServerServerGroupArchCompat ( server_arch_id, server_group_type)
    values (lookup_server_arch('bootstrap-linux'),
            lookup_sg_type('provisioning_entitled'));

if a machine registers with that arch, it'll get the bootstrap-entitlement automatically. Please correct me if I'm wrong or misunderstood something but I'm afraid, we still need the arch.


--
ciao, Uwe Gansert

SUSE LINUX Products GmbH, HRB 16746 (AG Nürnberg)
GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer
Home: http://www.suse.de/~ug - Blog: http://suse.gansert.net

_______________________________________________
Spacewalk-devel mailing list
Spacewalk-devel@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-devel

Reply via email to