[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Spacewalk-list] rhn_check uses HTTP repos instead of spacewalk software channel



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.

Scott

On Wed, Jul 6, 2011 at 3:26 AM, Sascha Frey <sf techfak net> wrote:
Hi list,

I experienced problems kickstarting some clients. All clients that
failed installing packages defined to activation keys are in the same
subnet with restricted internet access (need a HTTP proxy there).

After some network packet sniffing I discovered that these clients are
trying to establish a HTTP connection to ftp.scientificlinux.org.

All clients do that. Clients with internet access download the packages
from the HTTP yum repositories instead of using the Spacewalk server's
software channels.

Setting enabled=0 in all .repo files in /etc/yum.repos.d solves this
problem after the installation, but I didn't find a good solution for
the kickstart process.

The problem: rhn_check is called before the post scripts run.
The files to modify aren't in place when pre scripts run.

So my workaround is to write a pre installation script, which adds some
commands to /tmp/ks.cfg just before rhn_check. These commands modify the
.repo-files and disable these yum repos.

This is a dirty hack.
This can't be intended behaviour.

Is there anything I missed in kickstart profile configuration?



Thanks
Sascha

_______________________________________________
Spacewalk-list mailing list
Spacewalk-list redhat com
https://www.redhat.com/mailman/listinfo/spacewalk-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]