Did you create a Distribution on your Spacewalk server and relate it to your profile? I believe that is how Spacewalk/Cobbler knows where to pull the RPM's from.<br><br>Scott<br><br><div class="gmail_quote">On Wed, Jul 6, 2011 at 3:26 AM, Sascha Frey <span dir="ltr"><<a href="mailto:sf@techfak.net">sf@techfak.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi list,<br>
<br>
I experienced problems kickstarting some clients. All clients that<br>
failed installing packages defined to activation keys are in the same<br>
subnet with restricted internet access (need a HTTP proxy there).<br>
<br>
After some network packet sniffing I discovered that these clients are<br>
trying to establish a HTTP connection to <a href="http://ftp.scientificlinux.org" target="_blank">ftp.scientificlinux.org</a>.<br>
<br>
All clients do that. Clients with internet access download the packages<br>
from the HTTP yum repositories instead of using the Spacewalk server's<br>
software channels.<br>
<br>
Setting enabled=0 in all .repo files in /etc/yum.repos.d solves this<br>
problem after the installation, but I didn't find a good solution for<br>
the kickstart process.<br>
<br>
The problem: rhn_check is called before the post scripts run.<br>
The files to modify aren't in place when pre scripts run.<br>
<br>
So my workaround is to write a pre installation script, which adds some<br>
commands to /tmp/ks.cfg just before rhn_check. These commands modify the<br>
.repo-files and disable these yum repos.<br>
<br>
This is a dirty hack.<br>
This can't be intended behaviour.<br>
<br>
Is there anything I missed in kickstart profile configuration?<br>
<br>
<br>
<br>
Thanks<br>
Sascha<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>