diff options
Diffstat (limited to 'kickstarts')
-rw-r--r-- | kickstarts/default.ks | 2 | ||||
-rw-r--r-- | kickstarts/kickstart_fc5.ks | 57 | ||||
-rw-r--r-- | kickstarts/kickstart_fc6.ks | 59 | ||||
-rw-r--r-- | kickstarts/kickstart_fc6_domU.ks | 39 |
4 files changed, 157 insertions, 0 deletions
diff --git a/kickstarts/default.ks b/kickstarts/default.ks new file mode 100644 index 0000000..42c3cf8 --- /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 0000000..4de0f30 --- /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 0000000..f656691 --- /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 0000000..d480985 --- /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 + |