[CentOS] interactive %pre in kickstart?

Karanbir Singh mail-lists at karan.org
Wed Mar 21 01:27:16 UTC 2007


Florin Andrei wrote:
> Here's what I'm currently doing in ks.cfg:
> 
> %pre
> #!/bin/sh
> echo -n "Please enter blah: "
> read blah
> echo $blah > /tmp/ks-blah
> 

the 'normal' way to do such config stuff is via a module for firstboot, 
which runs the first time a machine boots....

since you are going this in %pre rather than %post, i presume some of 
the choices a user makes at this stage will influence the installer in 
someway ?

- KB

-- 
Karanbir Singh : http://www.karan.org/ : 2522219 at icq



More information about the CentOS mailing list