You can use DNS names in the script sections of the kickstart.  It's documented 
in the TUV's 6.0 manuals.  Don't forget to use -o nolock if you are mounting 
NFS.


On 04/05/2011 04: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.


Thanks,
Ahmed

Reply via email to