<div dir="ltr">Thanks a lot you the answers.<div><div style>As the spacewalk server doesn't have access to the internet without the authenticated proxy, it's kind of a no go.</div><div style>If I have time, I'll try to work on your scruipt to get it proxy compatible.</div>
<div style><br></div><div style>Pierre</div></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2012/12/19 Paul Robert Marino <span dir="ltr"><<a href="mailto:prmarino1@gmail.com" target="_blank">prmarino1@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, Dec 18, 2012 at 2:10 AM, Pierre Casenove <<a href="mailto:pcasenove@gmail.com">pcasenove@gmail.com</a>> wrote:<br>

> Hello,<br>
> I'm currently using rhn-clone-errate to sync RHN errata.<br>
> But we've recently added centos distribution, so I need to create errata for<br>
> centos as well.<br>
> I've been looking at eva-direct-errata, which seems really interesting but I<br>
> don't understand how it works.<br>
> - How can I configure a proxy to connect to RHN?<br>
</div>Unfortunately I never put that in because I wasn't sure how to do that<br>
with the RPC module I'm using but I may add it in the future<br>
<div class="im"><br>
> - I have the following channels configured:<br>
> 1 - CentOS 5 Base with Cent0S 5 Updates as child channel<br>
> 2 - rhel 5 Server<br>
> 3 - RHEL 5 Workstation<br>
> 4 - CentOS 6 Base with CentOS 6 Updates as child channel<br>
> 5 - RHEL 6 Server with RHEL 6 optionnal as child channel<br>
> As I understand the script, I need to launch it 5 times, changing source<br>
> channels, dest channels and "rewirtepackagereleasefrom/to". Is it correct?<br>
<br>
</div>Yes this is due to a bug in the spacewalk API,s<br>
<a href="https://bugzilla.redhat.com/show_bug.cgi?id=834569" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=834569</a><br>
If the bug ever gets fixed I will release a version that can do it in<br>
one round. I've already written a version in my non public git repo<br>
but due to the spacewalk bug im not releasing it to the public yet<br>
<div class="im"><br>
> - Is it possible to put some configuration directives (such as user/password<br>
> information) in a config file?<br>
</div>No not yet but you can use environment variables they are documented<br>
in the pod documentation<br>
use perldoc /path/to/script or pod2txt, pod2man. pod2... to read the<br>
documentation<br>
I highly suggest using the environment variables for now so your<br>
passwords don't show up in ps<br>
<div class="im"><br>
><br>
> Thanks a lot for your help,<br>
><br>
> Pierre<br>
><br>
</div>> _______________________________________________<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>
<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>