[CentOS-devel] thanks for the offers to help test the installer

Sun Jan 9 13:42:07 UTC 2011
Karanbir Singh <mail-lists at karan.org>

On 01/07/2011 01:41 AM, Nico Kadel-Garcia wrote:
>> Here is what needs doing :
>> - Write a kickstart file that would either install an existing system[1]
>> - Write a bash shell script that can be run on the machine, which would
>> do some tests and exit with '0' if all goes well.
> If I may suggest? Please put in the following '%post -nochroot' script.
>
>      %post -nochroot
>      /bin/cp /tmp/ks.cfg /mnt/sysimage/root/ks.cfg
>
> On RHEL 6, you should end that with a '%end' statement.

Sounds good. Why dont you go ahead and contribute the relevant 
kickstarts and the test scripts.

> This preserves your downloaded ks.cfg in your built system's /root/
> directory, for reference and comparison to the derived
> anaconda-ks.cfg. This is particularly important if you're like me and
> use multiple '%post' sections for distinct post-install operations.

would make for an easy scripted test :)

- KB