[CentOS] ks

Wed Aug 13 12:53:23 UTC 2008
Barry Brimer <lists at brimer.org>

> I made a file partition-ks.cfg and put it in our machine 192.168.5.17
> under /var/www/html.  When I install a new machine I just do a
>
>     linux ks=http://192.168.5.17/partition-ks.cfg
>
> I have a couple questions though:
>
> 1) I have the following in it:
>
>     clearpart --all
>     part /boot --fstype ext3 --size=100
>     part /var --fstype ext3 --size=10000
>     part / --fstype ext3 --size=10000
>     part swap --size=2048
>     part /home --fstype ext3 --size=100 --grow
>
> which is OK if I am installing over a previous installation.  But for new
> machines it does not seem to recognize the "clearpart" or it is not enough
> because I am still prompted whether I want to remove partitions.  Should I
> be using something else?

I think you need "zerombr" .. preferably before the clearpart .. it might 
be "zerombr yes" as well .. I don't have an example in front of me.

Barry