Newbie questions about Kickstart

Dean Troyer dtroyer+ks at gmail.com
Wed May 10 22:38:41 UTC 2006


On 5/10/06, Philip Prindeville <philipp_subx at redfish-solutions.com> wrote:
> Hi.
> (1) when you specify "ks=cdrom", where does this imply the ks.cfg
>    file to be?  In the top-level directory of the DVD?

Yes; it'll look for \ks.cfg.  You can also specify the actual device
name and a full path to a different file name:

ks=cdrom:/ks/hostname.cfg

> (3) where does the output of %post get logged?  vt3?  But not a file?

I just send output to /dev/tty3 so it's all there with the other stuff

echo "* Executing non-chroot post" >/dev/tty3

> (4) when %post is run, have the repos been created yet?  I tried running
>    yum, as in:
> ...
> Cannot find a valid baseurl for repo: core
> Error: Cannot find a valid baseurl for repo: core

This could be because your networking isn't set up or you're running
in the chroot %post and don't have access to your install media.

dt

--

Dean Troyer
dtroyer at gmail.com




More information about the Kickstart-list mailing list