<tt><font size=2>&gt; From: Kamil Paral &lt;kparal@redhat.com&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; In the discussion about </font></tt><a href="https://bugzilla.redhat.com/show_bug.cgi?id=869978"><tt><font size=2>https://bugzilla.redhat.com/show_bug.cgi?id=869978</font></tt></a><tt><font size=2><br>
&gt; we agreed that we should have a list of core kickstart commands that<br>
&gt; should definitely work for a Final release.<br>
&gt; <br>
&gt; All the options are documented here:<br>
&gt; </font></tt><a href=http://fedoraproject.org/wiki/Anaconda/Kickstart><tt><font size=2>http://fedoraproject.org/wiki/Anaconda/Kickstart</font></tt></a><tt><font size=2><br>
&gt; <br>
&gt; I tried to make a core selection. I had the following in mind:<br>
&gt; 1. Kickstarts are used for automation, therefore the most important
<br>
&gt; commands related to automation must work (manual intervention is not
fine).<br>
&gt; 2. Commands which are easily work-aroundable shouldn't be part of
<br>
&gt; the core selection.<br>
&gt; &nbsp; Example: 'authconfig' kickstart command is just a wrapper around
<br>
&gt; authconfig tool. You can issue the same command in %post and it <br>
&gt; should do the same. If %post works, it's trivial to work around <br>
&gt; nonfunctional authconfig kickstart command. The same applies for <br>
&gt; 'firewall', 'group', 'user' and others, it's trivial to run it in
%post.<br>
&gt; 3. Some commands have plenty of options. We can't really define into<br>
&gt; the smallest detail which one of them must work and which doesn't
<br>
&gt; have to. In this case a blocker-bug discussion is necessary to <br>
&gt; weight the importance of the option, its usage volume and the risk
involved.<br>
&gt; <br>
&gt; <br>
&gt; I arrived at three different categories of the core set:<br>
&gt; <br>
&gt; == Setting up installation environment ==<br>
&gt; network<br>
&gt; updates<br>
&gt; keyboard<br>
&gt; lang<br>
&gt; rootpw<br>
&gt; <br>
&gt; * 'network' and 'updates' are core commands, in same cases you <br>
&gt; really need them to start the installation.<br>
&gt; * 'keyboard' and 'lang' might probably be worked around in %pre, but<br>
&gt; it might be non-trivial for people. But I'm not firmly decided here.<br>
&gt; * 'rootpw' can be worked around in %post, but I consider it pretty
<br>
&gt; basic command to work without problems<br>
&gt; <br>
&gt; == Partitioning the system ==<br>
&gt; zerombr<br>
&gt; autopart<br>
&gt; clearpart<br>
&gt; part<br>
&gt; bootloader<br>
&gt; volgroup<br>
&gt; logvol<br>
&gt; <br>
&gt; * Partitioning is pretty major function of the installer and if <br>
&gt; doesn't work, it's just useless. I consider it core.<br>
&gt; * LVM support might be questioned. I decided to put it here, because<br>
&gt; LVM is the Fedora default and it might be pretty useful in some <br>
&gt; automated installation. We can discuss it though.<br>
&gt; * I haven't included some other partitioning commands, like 'btrfs',<br>
&gt; 'raid', or 'multipath'. They are useful and pretty, but I don't see
<br>
&gt; them as really core.<br>
&gt; <br>
&gt; == Installation process ==<br>
&gt; install<br>
&gt; upgrade<br>
&gt; repo<br>
&gt; %packages<br>
&gt; %pre<br>
&gt; %post<br>
&gt; poweroff<br>
&gt; reboot<br>
&gt; <br>
&gt; * 'install' and 'upgrade', because you need to be able to tell <br>
&gt; installer which mode to use<br>
&gt; * 'repo' because you need to set your mirror, or activate/deactive
<br>
&gt; updates-testing, or something like that<br>
&gt; * '%packages' because package selection is one the core functions
ofkickstart<br>
&gt; * '%pre' and '%post' because it is often needed for some post-<br>
&gt; install setups (setting up sshd, creating accounts etc) and also can<br>
&gt; be used to work around broken commands<br>
&gt; * 'poweroff' and 'reboot' because in an automated environment these
<br>
&gt; might be very important for you. Rebooting a computer that is 1000
<br>
&gt; miles away from you might not be an easy task.<br>
&gt; <br>
&gt; <br>
&gt; It might be a bit difficult to put this into criteria, I think there<br>
&gt; is no other way except than list the core commands. We can't say <br>
&gt; &quot;everything related to partitioning&quot;, because then people
would <br>
&gt; argue &quot;btrfs&quot; command is included. Maybe we can create a
separate <br>
&gt; page/subpage related to kickstart core commands and just link to it
<br>
&gt; from the criteria document.<br>
&gt; <br>
&gt; Comments very welcome.</font></tt>
<br>
<br><font size=2 face="sans-serif">I make heavy use of the %include directive
which I don't see that you've mentioned anywhere. &nbsp;It's a rather fundamental
feature for how I use kickstarts through livecd-tools to effect dynamic
sections. &nbsp;I suppose I could revise my tools to create a dynamic,
yet monolith kickstart script, but at present I have everything tooled
to around a core kickstart script, numerous static helpers that get %included
and several dynamic helpers that are also %included. &nbsp;Thus I'd appreciate
seeing %include added to the criteria, if it's not too much of a pain.</font>
<br>
<br><font size=2 face="sans-serif">FWIW it's presently working fine for
me with my test box that was F17 originally and yum-upgraded to F18 shortly
after the branch was made. &nbsp;This box is running my tool that runs
livecd-tools to make custom live spins that I've been heavily testing and
developing since the branch.<br>
--<br>
John Florian</font>
<br>