How do I add local repos on Spacewalk kickstarted systems?
I'm trying to configure Spacewalk so that the local repos I've sync'd will be available in the OS after the system is kickstarted. I've created a base channel for the OS install repo that has several child channels which have different repos per channel (EPEL, Spacewalk client, etc). After a system is kicked I cannot see these repos in /etc/yum.repos.d
The kickstart profile lists the child channels in the "Operating System" tab and they are also selected in the Activation Key's Child Channels tab. There is an error in the ks-rhn-post.log where the client registration is failing: Code:
"Can't open /etc/sysconfig/rhn/up2date: No such file or directory. |
Are you running Red Hat 6 or 7?
http://www.cyberciti.biz/tips/rhel5-...epository.html http://www.linuxquestions.org/questi...to-yum-882734/ |
Quote:
|
Hi:
Sorry I misunderstood. I looked up the error: Code:
Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular file Quote:
https://www.redhat.com/archives/spac.../msg00070.html Quote:
If your proxy is connected to a spacewalk server I won't be much help; sorry. I don't have server experience, I'm still learning that:- |
Quote:
In any event I'm still not sure why my systems are failing to automatically register with spacewalk however... that is my main problem at this point. |
Quote:
I don't get why your systems are failing to register with spacewalk. Maybe double check that Spacewalk is configured correctly. Spacewalk could be dependent upon other libraries and if they are not installed that could be a problem too. Communication between system and Spacewalk could be misconfigured but I'm not sure where. It could be as simple as a configuration file needing a string added or taken away. I'll learn what I can about Spacewalk and how to set it up. If I find anything I'll post it for you. |
Well - I found out that there was a few things that were causing the issue for me. The first seems to be that the activation key I was using with my kickstart did not have all the repos assigned to it and thus could not pull in the packages needed to register itself with spacwealk - but it had the base system and finished kickstarting fine so it was hard to discern what was going on. The second was I did not have the spacewalk package group in the kickstart config, nor pyhton-hwdata which was the final fail for me. Once those were added I get an automatically added system to spacewalk after it's kicked :)
|
Glad to hear you found out what the problem was.
Is Spacewalk working now? |
All times are GMT -5. The time now is 08:02 AM. |