summaryrefslogtreecommitdiffstats
path: root/kickstarts
diff options
context:
space:
mode:
Diffstat (limited to 'kickstarts')
-rw-r--r--kickstarts/kickstart_fc5.ks15
-rw-r--r--kickstarts/kickstart_fc6.ks15
2 files changed, 4 insertions, 26 deletions
diff --git a/kickstarts/kickstart_fc5.ks b/kickstarts/kickstart_fc5.ks
index a7d6cdc..84bd1e2 100644
--- a/kickstarts/kickstart_fc5.ks
+++ b/kickstarts/kickstart_fc5.ks
@@ -34,20 +34,9 @@ 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
+# Magically figure out how to partition this thing
+SNIPPET::partition_select
%packages
diff --git a/kickstarts/kickstart_fc6.ks b/kickstarts/kickstart_fc6.ks
index c9ab925..5208ed7 100644
--- a/kickstarts/kickstart_fc6.ks
+++ b/kickstarts/kickstart_fc6.ks
@@ -36,20 +36,9 @@ 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
+# Magically figure out how to partition this thing
+SNIPPET::partition_select
%packages