Disable up2date --register during PXE install

 
Thread Tools Search this Thread
Homework and Emergencies Emergency UNIX and Linux Support Disable up2date --register during PXE install
# 1  
Old 07-15-2010
Disable up2date --register during PXE install

Hi folks,

I really hope someone can help me (soon Smilie ) 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:



Code:
  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
# 2  
Old 07-15-2010
One way around the issue would be to set up your own repository server. Have a look at https://fedorahosted.org/spacewalk/
# 3  
Old 07-15-2010
Hi,

Yeah, I've got my own repo.

I know now what's the problem is- SELinux!!! Doesn't want me to change those files!!!

Need to find a way to disable selinux during install.
What a pain in the neck!

many thanks
Chris
# 4  
Old 07-16-2010
selinux --disabled
# 5  
Old 07-16-2010
Hi,

Many thanks. Actually it needs to be selinux=0 for anaconda.
Als0, for the note, there is a bug in RHEL 4.8 which wasn't fixed - kickstart doesn't understand selinux commands. Apparently it was too close to release date to fix that.

Hope that helps!

Chris
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

up2date command not found on Ent. 6.2 install

Folks; New to redhat coming from hp-ux.. After fresh install of Ent 6.2, can not find up2date on the system except the manpage .. Does 6.2 stop using up2date ?? Googled it but nothing concrete came up.. Thnx (2 Replies)
Discussion started by: delphys
2 Replies

2. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

3. Red Hat

Disable up2date --register during PXE install

Hi, 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... (0 Replies)
Discussion started by: columb
0 Replies

4. Shell Programming and Scripting

How to disable Enable/Disable Tab Key

Hi All, I have bash script, so what is sintax script in bash for Enable and Disable Tab Key. Thanks for your help.:( Thanks, Rico (1 Reply)
Discussion started by: carnegiex
1 Replies

5. UNIX for Advanced & Expert Users

RHEL 4 up2date

has someone ever update their servers using up2date? I already got my server listed in the up2date redhat network and there is security updates and so on. the thing is I would like to know, whether is there any steps on to download it in 1 server and apply it to the other servers?? so something... (3 Replies)
Discussion started by: flekzout
3 Replies

6. Red Hat

RHEL New UP2DATE Method

Does anyone else think RHEL's way of getting software updates to their customers (via the up2date utility) is not a friendly process? UP2DATE is fine to use, but it either has to be connected to the internet to get updates, or a "satellite server" has to be setup ( which ocsts more money). And... (3 Replies)
Discussion started by: BG_JrAdmin
3 Replies

7. Linux

up2date -i package

Hi, I'm under Red Hat Enterprise Linux AS release 3 (Taroon) and I want to go from compat-gcc-7.3-2.96.122 to compat-gcc-7.3-2.96.128. Then I downloaded compat-gcc-7.3-2.96.128 and I issued : up2date -i compat-gcc But I receive : This system may not be updated until it is associated... (2 Replies)
Discussion started by: big123456
2 Replies

8. UNIX for Dummies Questions & Answers

Network Install PXE/BootP/TFTP

Im trying to help my professor at school, were trying to setup a linux server, that is configured with bootp/tftp/PXE. the client computer NICs have support to boot off PXE. What we would like to do is if a client computer does not have an OS, it would boot off the server, and display a menu to the... (1 Reply)
Discussion started by: kwalick
1 Replies

9. Solaris

Checking for PXE

Hi! Is there any possibility to determine whether some Solaris machine has PXE enabled? I need some kind of a utility, which I could invoke remotely. Thanks! (5 Replies)
Discussion started by: maestro@altiris
5 Replies
Login or Register to Ask a Question