On 04/05/2011 03:28 AM, Ahmed El Zein wrote:
----- Original Message -----
From: Ahmed El Zein <[email protected]>
Date: Tuesday, April 5, 2011 6:23 pm
Subject: kickstart resolv.conf problem with SL6
To: [email protected]

 >
 > Dear SL users,I am testing SL6 and my kickstart scripts are failing.
Specifically wgets are unable to resolve the hostname of the spacewalk
server.
 >
 >
 > I took a look and both /etc/resolv.conf and
/mnt/sysimage/etc/resolv.conf are missing the nameserver line. They both
just have a single line:
 > ----
 > search <domain>
 > ------
 >
 >
 > These kickstart scipts work just find on my Centos 5.5 systems, so I
am not sure if this is a SL6 issue or some change in the kickstart
options that I am not aware of. I have looked but I can't find any
relevant difference between the RHEL5 and RHEL6 kickstart doco.
 >
 >
 > And help/info in this regard would be much appreciated.
 >
A quick follow up; After some more testing I noticed that when anaconda
first runs the resolv.conf file is fine. By the time the pre script runs
the resolv.conf is just the one line as I described it.

By any chance are you using DHCP with short lease times? There was an issue with clocks getting skewed during the install and leases expiring and not getting renewed. Looking at /tmp/anaconda.log and /tmp/system.log from the VT2 terminal should tell you the story.


--
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA/CoRA Division                    FAX: 303-415-9702
3380 Mitchell Lane                  [email protected]
Boulder, CO 80301              http://www.cora.nwra.com

Reply via email to