<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class="">Hi,<div class=""><br class=""></div><div class="">You can get all of those packages installed without registration IF they're in one of the channels available during the kickstart process AND you've deployed the correct GPG key for the packages. If you're using the upstream Spacewalk packages, you need to deploy the RPM-GPG-KEY-spacewalk-2015 key first, before these packages will install.</div><div class=""><br class=""></div><div class="">I deploy all of those during kickstart without a problem using the builds from Oracle (because my target servers already have the Oracle Linux GPG key installed) and on my CentOS boxes, I deploy the GPG key during the kickstart process itself and then these packages are installed automatically by Spacewalk to enable registration. About the only ones you have to manually deploy are the rhncfg-* packages.</div><div class=""><br class=""></div><div class="">For example, Spacewalk will automatically deploy rhn-virtualization-host if the activation key used is entitled to either VIrtualization or Virtualization Platform. Likewise, the standard client RPMs will be deployed if Spacewalk detects them in one of the enabled child channels in the kickstart profile.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Avi</div><div class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 8 Apr 2016, at 10:41 AM, Konstantin Raskoshnyi <<a href="mailto:konrasko@gmail.com" class="">konrasko@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">I thought i'd work for a new kickstart machine...for example if I put these packages they won't be installed, because first - you need to register your machine.<div class="">I then you need to add packages into your kickstart.</div><div class=""><div class="">rhn-client-tools</div><div class="">rhn-check</div><div class="">rhn-setup</div><div class="">rhnsd</div><div class="">m2crypto</div><div class="">yum-rhn-plugin</div><div class="">rhncfg-actions</div><div class="">rhn-virtualization-host</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Thu, Apr 7, 2016 at 3:59 PM, Avi Miller <span dir="ltr" class=""><<a href="mailto:avi.miller@oracle.com" target="_blank" class="">avi.miller@oracle.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word" class="">Hi,<div class=""><br class=""></div><div class="">It works fine for me. :) YMMV.</div><div class=""><br class=""></div><div class="">1. Deploy the GPG keys for your target channels (via Kickstart or Configuration Channel or some other method)</div><div class="">2. Ensure the correct software channels are enabled for the activation key</div><div class="">3. List the packages you want installed by that key</div><div class=""><br class=""></div><div class="">The kicker is usually step 1: making sure your target systems have the appropriate GPG key for the packages you want the activation key to install. It would be super peachy keen if you could associate GPG keys with activation keys so that it's more obvious.</div><div class=""><br class=""></div><div class="">Note that step 2 can be tricky too, because the activation key will override the kickstart channels. So it's not cumulative, it's a replacement.</div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Avi</div><div class=""><div class="h5"><div class=""><br class=""><div class=""><blockquote type="cite" class=""><div class="">On 8 Apr 2016, at 8:42 AM, Lachlan Musicman <<a href="mailto:datakid@gmail.com" target="_blank" class="">datakid@gmail.com</a>> wrote:</div><br class=""><div class=""><div dir="ltr" class=""><div class=""><div class=""><div class=""><div class=""><div class="">Konstantin,<br class=""><br class="">I disagree with Avi in that "it works". I have also not known it to work on Kickstarted machines. I found I had to add the packages to the software list under profiles.<br class=""><br class=""> I am sure that is how it's meant to work - it would appear to be a good
 thing and an obvious functionality. But I've never known it to work 
either. My suspicion is on the cobbler/spacewalk snippets, but it's hard
 to pin down.<br class=""></div><br class=""></div>I also found that the files weren't distributed on Kickstart without shoe-horning them in with a post install script.<br class=""><br class=""></div>Let me know if you need the script to see it working.<br class=""><br class=""></div>Cheers<br class=""></div>L.<br class=""></div><div class="gmail_extra"><br clear="all" class=""><div class=""><div class=""><div dir="ltr" class=""><div class="">------<br class="">The most dangerous phrase in the language is, "We've always done it this way."<br class=""><br class="">- Grace Hopper<br class=""></div></div></div></div>
<br class=""><div class="gmail_quote">On 8 April 2016 at 07:41, Avi Miller <span dir="ltr" class=""><<a href="mailto:avi.miller@oracle.com" target="_blank" class="">avi.miller@oracle.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">It works if the packages are in a channel that is activated by the same key. It also requires any GPG keys required by those packages to already be installed on the target system.<br class="">
<br class="">
On the plus side, it works regardless of whether the system was kickstarted by Spacewalk or not. Assuming you have the keys in place, any system registered with that key will attempt to install the packages listed.<br class="">
<div class=""><div class=""><br class="">
> On 8 Apr 2016, at 6:23 AM, Konstantin Raskoshnyi <<a href="mailto:konrasko@gmail.com" target="_blank" class="">konrasko@gmail.com</a>> wrote:<br class="">
><br class="">
> I found a great function, if you go to Systems->Activation keys->%KEY%->Packages<br class="">
><br class="">
> Seems like they should be installed on every system kickstarted with this key.<br class="">
><br class="">
> But it doesn't work. There're no logs too.<br class="">
><br class="">
> I feel like this works only the system added to the spacewalk, but then it doesn't make sense at all.<br class="">
><br class="">
> Any thoughts?<br class="">
</div></div>> _______________________________________________<br class="">
> Spacewalk-list mailing list<br class="">
> <a href="mailto:Spacewalk-list@redhat.com" target="_blank" class="">Spacewalk-list@redhat.com</a><br class="">
> <a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank" class="">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br class="">
<br class="">
--<br class="">
Oracle <<a href="http://www.oracle.com/" rel="noreferrer" target="_blank" class="">http://www.oracle.com</a>><br class="">
Avi Miller | Product Management Director | <a href="tel:%2B61%20%283%29%208616%203496" value="+61386163496" target="_blank" class="">+61 (3) 8616 3496</a><br class="">
Oracle Linux and Virtualization<br class="">
417 St Kilda Road, Melbourne, Victoria 3004 Australia<br class="">
<br class="">
<br class="">
_______________________________________________<br class="">
Spacewalk-list mailing list<br class="">
<a href="mailto:Spacewalk-list@redhat.com" target="_blank" class="">Spacewalk-list@redhat.com</a><br class="">
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank" class="">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br class="">
</blockquote></div><br class=""></div>
_______________________________________________<br class="">Spacewalk-list mailing list<br class=""><a href="mailto:Spacewalk-list@redhat.com" target="_blank" class="">Spacewalk-list@redhat.com</a><br class=""><a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank" class="">https://www.redhat.com/mailman/listinfo/spacewalk-list</a></div></blockquote></div><br class=""><div class="">
--<br class="">Oracle <<a href="http://www.oracle.com/" target="_blank" class="">http://www.oracle.com</a>><br class="">Avi Miller | Product Management Director | <a href="tel:%2B61%20%283%29%208616%C2%A03496" value="+61386163496" target="_blank" class="">+61 (3) 8616 3496</a><br class="">Oracle Linux and Virtualization<br class="">417 St Kilda Road, Melbourne, Victoria 3004 Australia

</div>
<br class=""></div></div></div></div><br class="">_______________________________________________<br class="">
Spacewalk-list mailing list<br class="">
<a href="mailto:Spacewalk-list@redhat.com" class="">Spacewalk-list@redhat.com</a><br class="">
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" rel="noreferrer" target="_blank" class="">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br class=""></blockquote></div><br class=""></div>
_______________________________________________<br class="">Spacewalk-list mailing list<br class=""><a href="mailto:Spacewalk-list@redhat.com" class="">Spacewalk-list@redhat.com</a><br class="">https://www.redhat.com/mailman/listinfo/spacewalk-list</div></blockquote></div><br class=""><div class="">
--<br class="">Oracle <<a href="http://www.oracle.com" class="">http://www.oracle.com</a>><br class="">Avi Miller | Product Management Director | +61 (3) 8616 3496<br class="">Oracle Linux and Virtualization<br class="">417 St Kilda Road, Melbourne, Victoria 3004 Australia

</div>
<br class=""></div></body></html>