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.
cp: cannot stat `/tmp/ks-tree-copy/*': No such file or directory...
HTTP request sent, awaiting response... 200 OK
Length: 5170 (5.0K) [text/plain]
Saving to: `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT'
0K ..... 100% 489M=0s
2015-02-04 02:23:25 (489 MB/s) - `/usr/share/rhn/RHN-ORG-TRUSTED-SSL-CERT' saved [5170/5170]
Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular file.
"Can't do inplace edit: /etc/sysconfig/rhn/allowed-actions is not a regular file."
I'm not sure why these repos are not being seen... how can I add them?