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.b...@gmail.com

On Tue, Feb 26, 2019, 13:42 oogiej...@yahoo.com <oogiej...@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@redhat.com
> https://www.redhat.com/mailman/listinfo/spacewalk-list
_______________________________________________
Spacewalk-list mailing list
Spacewalk-list@redhat.com
https://www.redhat.com/mailman/listinfo/spacewalk-list

Reply via email to