First page Back Continue Last page Overview Graphics

Example ks.cfg File – %pre section


Here I use the %pre section to manage both ide and scsi disks in a generic fashion. You will find a similar example in the Red Hat configuration guide.

First there is some logic to try and guess what kind of disks are on this host.
With this logic I set the shell variable $hd that I will then use with good old 'fdisk' to create my partitions.