Disable up2date --register during PXE install


 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Disable up2date --register during PXE install
# 1  
Old 07-16-2010
Disable up2date --register during PXE install

Hi,

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, 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?

Many thanks!
Chris

---------- Post updated 16-07-10 at 09:41 AM ---------- Previous update was 15-07-10 at 11:09 AM ----------

Code:
sed -e "9s/up2date/#up2date/" /etc/sysconfig/rhn/sources

would work if selinux wouldn't be active. To switch off selinux tell anaconda that
Code:
selinux=0

.

Is it only me who doesn't like selinux?

Case closed.

Many thanks
Chris

Moderator's Comments:
Mod Comment You already asked this in the Emergency Forum. Do not double post. Thread closed.

Last edited by Scott; 07-16-2010 at 06:41 AM..
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. Emergency UNIX and Linux Support

Disable up2date --register during PXE install

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