# MythDora kickstart Configuration # Created by Ryan Pisani # Installation Method install # Installation Media cdrom # Default Language Selection lang en_US.UTF-8 # Default Keyboard Layout US keyboard us # Start up X on boot xconfig --startxonboot # Run firstboot firstboot --enable # Default boot protocol DHCP #network --bootproto dhcp # Default Root password -current mythdora #rootpw mythtv # No firewall configured as it may interfere with other services firewall --disabled # SELinux selinux --disabled # System account authentication shadow passwords and Md5 encryption authconfig --useshadow --enablemd5 # timezone #timezone --utc America/New_York # Boot Loader Configuration bootloader --location=mbr --driveorder=sda,hda --append="rhgb quiet" # Partitioning %include /tmp/include-parts zerombr yes #clearpart --all --initlabel #part / --fstype ext3 --size 4000 --grow --maxsize 8000 #part /storage --fstype ext3 --size 100 --grow #part /boot --fstype ext3 --size 150 #part swap --recommended # Package configuration %packages --resolvedeps @admin-tools @backup-tools @base @base-x @core @dial-up @editors @emulators @fglrx-drivers @gnome-desktop @graphical-internet @hardware-support @kde-desktop @mysql @mythtv-base @mythtv-misc @mythtv-plugins @mythtv-themes @mythtv-vidcap-drivers @mythtv-video-drivers @network-server @nvidia-drivers @nvidia-legacy-drivers @ratpoison-desktop @remote @server-cfg @smb-server @sound-and-video @system-tools @text-internet @web-server @wifi @xfce-desktop #Pre Installation setup # Pre installation %pre #!/bin/sh ######################################################### # Idenitifies hard disks and parts them accordingly # # this should prevent all disks from being intialized # # during installation. It will assume the first drive # # over 5000MB as primary starting with IDE drives 1st # # then moving to sata. It will leave secondary drives # # alone if they exist # ######################################################### DISKS=`ls /dev/hd* /dev/sd* | egrep -v "[0-9]"` for i in ${DISKS}; do size=`fdisk -l $i | grep Disk | grep bytes | awk {'print $5'}` if [[ $size -gt 8000000000 ]]; then primary=`basename $i` break fi done # Now Construct the partitioning include file for dynamic parts cat >>/tmp/include-parts<>/var/log/postscript.log 2>&1 ###End of post