kick start...

Barry Wright barry at cs.otago.ac.nz
Wed Dec 3 22:14:14 UTC 2003


On Mon, 1 Dec 2003, stephan schutter wrote:

> I have been playing around with kick start... and for some reason it
> refuses to do anything after the %post entry??!!! Why? What have I done
> wrong? Is this the intended behaviour?
....
> %post
>
> cat > /etc/resolv.conf <<EOF
> nameserver 10.104.241.115
> nameserver 10.114.215.20
> EOF


I use a similar section to your code in one place in a floppy sourced
ks.cfg file to write an entry to root's crontab. Reading your email and
looking at the test FC1 installs I have been working with in the last
couple of days has highlighted the fact that any %post command before it
is completed, the crontab section that worked with RH7.2 no longer works
and any of the code after it (with the exception screen echos to plot
progress) is also not working.

I have just completed a ks install with the crontab code at end of the
%post section, all code up to it is now working, but the crontab section
still fails to work. As a workaround I suggest you replace your code with
the following

echo "nameserver 10.104.241.115" >> /etc/resolv.conf
echo "nameserver 10.114.215.20" >> /etc/resolv.conf

At this stage I am not certain if there is a syntax error (the crontab
section has been edited recently) in my ks.cfg or if the problem appeared
with FC1.

HTH

Barry Wright
Sys Admin
Otago University
NZ





More information about the fedora-test-list mailing list