[Fedora-livecd-list] post_install_script options/interactivity

Jasper O'neal Hartline jasperhartline at adelphia.net
Wed Apr 19 18:23:04 UTC 2006


Toshio Kuratomi wrote:

>04userconfig and 07accounts are different than the other
>post_install_scripts in that they both start interactive processes.
>Currently, if the user has selected to use kickstart or cmdline mode for
>anaconda, the functionality of these scripts are skipped.  This is okay
>to beat them into shape but we're eventually going to want to architect
>things so we can access the functionality when we're running anaconda
>noninteractively. 
>
Absolutely. See the http://fedoraproject.org/wiki/Kadischi/Schedule item
* make Anaconda ignore %livecd section, have Kadischi read this section
(This is a kickstart cfg file item).

> Additionally, just because I've scripted a portion of
>anaconda's installer doesn't mean I don't want to configure the
>remaining pieces by hand.  (anaconda itself allows for setting some
>things within a kickstart while prompting for missing values.)
>  
>
Yes, but this isn't using cmdline method. An incomplete kickstart file 
will halt
Anaconda when using an incomplete kickstart file and cmdline method at 
the same time.

>I think we want to copy the idea of cmdline, text, and graphical that
>anaconda has into kadischi.  When kadischi is run in cmdline mode it
>attempts to execute with only the values given on the cmdline.
>
This isn't absolutely correct.. cmdline method of Anaconda doesn't bring 
up any curses or GTK+ UI of any kind.

>  When in
>text/graphical it will preset and run with any options given to it on
>the commandline but prompt for interactive use when something is
>missing.
>  
>
Without kickstart anything from timezone to root password is prompted for.

>Does anyone have any thoughts or do I need to hack out a proof of
>concept so we have something to tear apart?
>
>  
>
Maybe a bit more clarification, I am very open to ideas and of course 
any additional items
or changes to scripts must be thought of as a starting point, the 
userconfig and accounts scripts
are nothing more than skeletons. It brings the idea into play, rather 
than a finished concept.

For example, Chitlesh asked me why we set the UID explicitly, and I have 
decided to change that.
Fedora Core's useradd will start at 500 UID regardless, as this is a 
default. Incrementing to the next UID.

J. Hartline




More information about the livecd mailing list