[Spacewalk-list] registering servers to specific repositories

Bill Howe howe.bill at gmail.com
Wed Feb 27 03:25:54 UTC 2019


You could use activation keys that map to certain base/child channels.

Then just run a registration script on the system (shameless plug example:
https://gitlab.com/whowe/spacewalk/blob/master/spacewalk-register.sh)

You may also be able to use distribution channel mappings, but I haven't
used those, so can't speak much on that.

Good luck.

Bill Howe
howe.bill at gmail.com

On Tue, Feb 26, 2019, 13:42 oogiejonz at yahoo.com <oogiejonz at yahoo.com> wrote:

> We are trying to figure out how to automate registering our servers with
> specific repositories.  Currently, we kickstart new servers and have them
> register to spacewalk using a universal activation key that has no channels
> associated with it.  We did this so that when we create new frozen channels
> every month we can just associate the servers with that specific channel -
> for instance all our rhel7 servers were just patched with our Feb1_2019 set
> of channels, and next week they will all be patched with March1_2019
> channels.  Would it be possible to automate attaching channels to a server
> using spacecmd?
> _______________________________________________
> Spacewalk-list mailing list
> Spacewalk-list at redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/spacewalk-list/attachments/20190226/4f78097a/attachment.htm>


More information about the Spacewalk-list mailing list