diff options
author | Michael DeHaan <mdehaan@redhat.com> | 2007-01-19 16:20:35 -0500 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2007-01-19 16:20:35 -0500 |
commit | 9041aa8c578fa744fac2933b4935965ec0f9cbb0 (patch) | |
tree | 0ea2d33577841384b5feb6e8643a83fb8103e04f /kickstart_fc6.ks | |
parent | 9d512497d200d4e150a43322343f6b200e1ce280 (diff) | |
download | third_party-cobbler-9041aa8c578fa744fac2933b4935965ec0f9cbb0.tar.gz third_party-cobbler-9041aa8c578fa744fac2933b4935965ec0f9cbb0.tar.xz third_party-cobbler-9041aa8c578fa744fac2933b4935965ec0f9cbb0.zip |
Make default kickstarts fully automatic. (Long time coming).
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 |