Dynamic disk partitioning » History » Version 1

Paul Kelly, 03/28/2010 11:47 PM

1 1 Paul Kelly
h1. Dynamic disk partioning
2 1 Paul Kelly
3 1 Paul Kelly
h2. Overview
4 1 Paul Kelly
5 1 Paul Kelly
When configuring a host for an unattended kickstart build it is possible to specify the host's disk layout as an explicit sequence of partions or use a pre-exec dynamic disk layout script. In either case enter the explict partition list or the pre-exec script into the host's disk layout text area, (or choose a predefined configuration.) 
6 1 Paul Kelly
7 1 Paul Kelly
If the text is to be interpreted as a dynamic disk layout then please ensure that the pre-exec shell script contains a comment line starting with "#Dynamic" and that your script writes a static partition table into /tmp/diskpart.cfg. 
8 1 Paul Kelly
9 1 Paul Kelly
If a disk partition table contains /^#Dynamic/ then the kickstart process will execute the text as a bourne shell script as its very first step and will then include the file /tmp/diskpart.cfg into the downloaded kickstart file.
10 1 Paul Kelly
11 1 Paul Kelly
h2. Examples
12 1 Paul Kelly
13 1 Paul Kelly
 To be added.