<div dir="auto">You could use activation keys that map to certain base/child channels.<div dir="auto"><br></div><div dir="auto">Then just run a registration script on the system (shameless plug example: <a href="https://gitlab.com/whowe/spacewalk/blob/master/spacewalk-register.sh">https://gitlab.com/whowe/spacewalk/blob/master/spacewalk-register.sh</a>)</div><div dir="auto"><br></div><div dir="auto">You may also be able to use distribution channel mappings, but I haven't used those, so can't speak much on that.<br><br>Good luck.</div><div dir="auto"><br></div><div dir="auto"><div data-smartmail="gmail_signature" dir="auto">Bill Howe<br><a href="mailto:howe.bill@gmail.com">howe.bill@gmail.com</a></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Feb 26, 2019, 13:42 <a href="mailto:oogiejonz@yahoo.com">oogiejonz@yahoo.com</a> <<a href="mailto:oogiejonz@yahoo.com">oogiejonz@yahoo.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div>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?  </div><div class="m_-5101887068738561998ydp70e10398yahoo-style-wrap" style="font-family:Helvetica Neue,Helvetica,Arial,sans-serif;font-size:13px"></div></div>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com" target="_blank" rel="noreferrer">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer noreferrer" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></blockquote></div>