<div dir="ltr"><div>Good catch, thanks Rob. I missed the point that the clients were already registered with RHN. </div><div><br></div><div>-Kish.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 11:30 AM,  <span dir="ltr"><<a href="mailto:roberto.quagliozzi@ubs.com" target="_blank">roberto.quagliozzi@ubs.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Worth noting that you can't have a client subscribed to both RHN Hosted and a Spacewalk/Satellite instance at the same time, so you will lose the RHN Hosted reg when you subscribe to the Spacewalk box.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">If you want to keep the registration to RHN Hosted, you'll need to :<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:Symbol;color:#1f497d"><span>·<span style="font:7.0pt "Times New Roman"">         </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">export the RPMs from the channel to a dir (use spacecmd or the API for the list of latest available packages in the channel and then use locate to find them on the filesystem, or find the path through the API and prefix it with your mountpoint)<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:Symbol;color:#1f497d"><span>·<span style="font:7.0pt "Times New Roman"">         </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">run createrepo over the exported dir<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:Symbol;color:#1f497d"><span>·<span style="font:7.0pt "Times New Roman"">         </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">ensure that dir above can be seen by httpd on your Spacewalk box<u></u><u></u></span></p>
<p><u></u><span style="font-size:11.0pt;font-family:Symbol;color:#1f497d"><span>·<span style="font:7.0pt "Times New Roman"">         </span></span></span><u></u><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Create the repofile on your client pointing to the above http link you just created…<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">-Rob<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a> [mailto:<a href="mailto:spacewalk-list-bounces@redhat.com" target="_blank">spacewalk-list-bounces@redhat.com</a>] <b>On Behalf Of </b>kishore kumar<br>
<b>Sent:</b> 10 February 2014 11:28<br><b>To:</b> <a href="mailto:spacewalk-list@redhat.com" target="_blank">spacewalk-list@redhat.com</a><br><b>Subject:</b> Re: [Spacewalk-list] Spacewalk-Repo for a RHEL-Client ?<u></u><u></u></span></p>
<p class="MsoNormal"><u></u> <u></u></p><div><p class="MsoNormal">The spacewalk-client must be subscribed to the channel. do spacewalk-channel --list from the client, it wil list out all the channels the client is subscribed to. <u></u><u></u></p>
<div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">spacewalk-channel -L   will list out all the available channels.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div>
<p class="MsoNormal">You can add channels to your client using spacewalk-channel -a -c <channelname> -u <userid> -p <pasword><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div>
<div><p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p><div><p class="MsoNormal">On Mon, Feb 10, 2014 at 10:17 AM, Jakl Stefan <<a href="mailto:Stefan.Jakl@wuerth-itensis.com" target="_blank">Stefan.Jakl@wuerth-itensis.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal">Hello<br><br>I've got a Spacewalk 2.0 running in my environment.<br>Now I've got several RHEL (not CentOS !) clients, which are registered to the RHN of RH.<br><br>On the Spacewalk-Server, I've created a Child-Channel called "webfiles" under my Parent-Channel "CentOS-6- x86_64", where I've got my own builded rpm's.<br>
<br>I tried to create a repo-file whitin my yum.repos.d-folder on the RHEL-Client, but it didn't work.<br><br><br>My question is :<br>How can I use the "CentOS-6- x86_64/webfiles" - Channel from my RHEL's so that "yum update webfile-pkg" would work ?<br>
<br><br>Does any of you have an idea ?<br><br><br>Stefan Jakl<br>Linux Engineer<br><br><br><br>_______________________________________________<br>Spacewalk-list mailing list<br><a href="mailto:Spacewalk-list@redhat.com" target="_blank">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p></div></div></div>
<br><br>
E-mails can involve SUBSTANTIAL RISKS, e.g. lack of confidentiality, potential manipulation of contents and/or sender's address, incorrect recipient (misdirection), viruses etc. Based on previous e-mail correspondence with you and/or an agreement reached with you, UBS considers itself authorized to contact you via e-mail. UBS assumes no responsibility for any loss or damage resulting from the use of e-mails.<br>

UBS reserves the right to retain all messages. Messages are protected and accessed only in legally justified cases.<br>
Privacy statements: <a href="http://www.ubs.com/global/en/legalinfo2/privacy.html" target="_blank">http://www.ubs.com/global/en/legalinfo2/privacy.html</a><br>_______________________________________________<br>
Spacewalk-list mailing list<br>
<a href="mailto:Spacewalk-list@redhat.com">Spacewalk-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/spacewalk-list" target="_blank">https://www.redhat.com/mailman/listinfo/spacewalk-list</a><br></blockquote></div><br></div>