summaryrefslogtreecommitdiffstats
path: root/kickstarts
diff options
context:
space:
mode:
authorMichael DeHaan <mdehaan@redhat.com>2007-03-16 12:28:43 -0400
committerJim Meyering <jim@meyering.net>2007-03-16 12:28:43 -0400
commit3797448bd957a39f43432d3399a5e2482cec533a (patch)
tree85114d18305f873cf85b5a0d138712dca940818e /kickstarts
parent43b2dc1e52f24d8fb4af422252bbcda793d89b85 (diff)
downloadcobbler-3797448bd957a39f43432d3399a5e2482cec533a.tar.gz
cobbler-3797448bd957a39f43432d3399a5e2482cec533a.tar.xz
cobbler-3797448bd957a39f43432d3399a5e2482cec533a.zip
Interim commit in the middle of directory reorg.
Diffstat (limited to 'kickstarts')
-rw-r--r--kickstarts/default.ks2
-rw-r--r--kickstarts/kickstart_fc5.ks57
-rw-r--r--kickstarts/kickstart_fc6.ks59
-rw-r--r--kickstarts/kickstart_fc6_domU.ks39
4 files changed, 157 insertions, 0 deletions
diff --git a/kickstarts/default.ks b/kickstarts/default.ks
new file mode 100644
index 00000000..42c3cf8a
--- /dev/null
+++ b/kickstarts/default.ks
@@ -0,0 +1,2 @@
+# this file intentionally left blank
+# admins: edit it as you like, or leave it blank for non-interactive install
diff --git a/kickstarts/kickstart_fc5.ks b/kickstarts/kickstart_fc5.ks
new file mode 100644
index 00000000..4de0f304
--- /dev/null
+++ b/kickstarts/kickstart_fc5.ks
@@ -0,0 +1,57 @@
+#platform=x86, AMD64, or Intel EM64T
+# System authorization information
+auth --useshadow --enablemd5
+# System bootloader configuration
+bootloader --location=mbr
+# Partition clearing information
+clearpart --all --initlabel
+# Use text mode install
+text
+# Firewall configuration
+firewall --enabled
+# Run the Setup Agent on first boot
+firstboot --disable
+# System keyboard
+keyboard us
+# System language
+lang en_US
+# Use network installation
+url --url=$tree
+# Network information
+network --bootproto=dhcp --device=eth0 --onboot=on
+# Reboot after installation
+reboot
+
+#Root password
+rootpw --iscrypted \$1\$mF86/UHC\$WvcIcX2t6crBz2onWxyac.
+# SELinux configuration
+selinux --disabled
+# Do not configure the X Window System
+skipx
+# System timezone
+timezone America/New_York
+# Install OS instead of upgrade
+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
+
+%post
+$yum_config_stanza
+$kickstart_done
+
diff --git a/kickstarts/kickstart_fc6.ks b/kickstarts/kickstart_fc6.ks
new file mode 100644
index 00000000..f6566913
--- /dev/null
+++ b/kickstarts/kickstart_fc6.ks
@@ -0,0 +1,59 @@
+#platform=x86, AMD64, or Intel EM64T
+# System authorization information
+auth --useshadow --enablemd5
+# System bootloader configuration
+bootloader --location=mbr
+# Partition clearing information
+clearpart --all --initlabel
+# Use text mode install
+text
+# Firewall configuration
+firewall --enabled
+# Run the Setup Agent on first boot
+firstboot --disable
+# System keyboard
+keyboard us
+# System language
+lang en_US
+# Use network installation
+url --url=$tree
+# If any cobbler repo definitions were referenced in the kickstart profile, include them here.
+$yum_repo_stanza
+# Network information
+network --bootproto=dhcp --device=eth0 --onboot=on
+# Reboot after installation
+reboot
+
+#Root password
+rootpw --iscrypted \$1\$mF86/UHC\$WvcIcX2t6crBz2onWxyac.
+# SELinux configuration
+selinux --disabled
+# Do not configure the X Window System
+skipx
+# System timezone
+timezone America/New_York
+# Install OS instead of upgrade
+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
+
+%post
+$yum_config_stanza
+$kickstart_done
+
diff --git a/kickstarts/kickstart_fc6_domU.ks b/kickstarts/kickstart_fc6_domU.ks
new file mode 100644
index 00000000..d4809856
--- /dev/null
+++ b/kickstarts/kickstart_fc6_domU.ks
@@ -0,0 +1,39 @@
+# DomU kickstart for Fedora Server Spin
+# Installs 142 packages / 560MB
+# Tested with FC6
+
+install
+reboot
+url --url=$tree
+
+lang en_US.UTF-8
+keyboard us
+xconfig --driver "fbdev" --resolution 800x600 --depth 24
+network --device eth0 --bootproto dhcp
+rootpw --iscrypted \$1\$mF86/UHC\$WvcIcX2t6crBz2onWxyac.
+firewall --enabled --port=22:tcp
+authconfig --enableshadow --enablemd5
+selinux --disabled
+timezone --utc America/New_York
+bootloader --location=mbr --driveorder=xvda --append="rhgb quiet"
+
+clearpart --all --initlabel --drives=xvda
+part /boot --fstype ext3 --size=100 --ondisk=xvda
+part pv.2 --size=0 --grow --ondisk=xvda
+volgroup domu --pesize=32768 pv.2
+logvol / --fstype ext3 --name=lv00 --vgname=domu --size=1024 --grow
+logvol swap --fstype swap --name=lv01 --vgname=domu --size=272 --grow --maxsize=544
+
+%packages --nobase
+crontabs
+dhclient
+dhcpv6_client
+nfs-utils
+openssh-clients
+openssh-server
+yum
+
+%post
+$yum_config_stanza
+$kickstart_done
+