Hi folks,
I really hope someone can help me (soon ) as I can't work out what I'm doing wrong and google is not helpful either.
Basically I have to setup 20 Dell servers with RHEL 4.8 (no, not 5, must be 4.8). Of course I have tftp and I'm trying to install them via nfs with kickstart and PXE. OS install is going fine until my bits in %post section of kickstart.
I need to install DELL OMSA using up2date. up2date requires interactive registration which I want to disable. On running system I can just use:
sed -e "9s/up2date/#up2date/" /etc/sysconfig/rhn/sources
and that disables RHN registration. But for some reason I can't disable RHN registration while in kickstart. sed is working fine (well, sed is making change but I think this change is in wrong place?), changes line but up2date still wants to register! Is up2date using different config file with sources? Is up2date swapping my file after sed makes changes? How can I use up2date with my yum repo from kickstart %post section?
Using rhn_register_ks is out of question as I don't have enough licenses at this moment.
Many thanks!
Chris