diff options
Diffstat (limited to 'kickstart_fc6.ks')
-rw-r--r-- | kickstart_fc6.ks | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/kickstart_fc6.ks b/kickstart_fc6.ks index 6a55cbc..fd9d7a1 100644 --- a/kickstart_fc6.ks +++ b/kickstart_fc6.ks @@ -36,6 +36,20 @@ timezone America/New_York install # Clear the Master Boot Record zerombr +# Magically figure out how to partition this thing +%include /tmp/partinfo + +%pre +# Determine how many drives we have +set $(list-harddrives) +let numd=$#/2 +d1=$1 +d2=$3 + +cat << EOF >> /tmp/partinfo +part / --fstype ext3 --size=1024 --grow --ondisk=$d1 --asprimary +part swap --size=1024 --ondisk=$d1 --asprimary +#EOF %packages |