### Keyboard Configuration
### Will get set to 'us' by default
### if nothing specified in /etc/sysconfig/keyboard
keyboard us
### Partitioning Information
### Whether to clear out the Master Boot Record (yes/no)
### Which partitions to format (--linux/--all)
### --linux - only format existing linux partitions
### --all - format all existing partitions
### Which partitions to set up on new system as well
### as size of those partitions
### Specify software RAID partitions (optional)
zerombr yes
clearpart --linux
part /boot --size 35
part swap --size 128
#part swap --recommended
part / --size 1000 --grow --maxsize 1400
#part raid.0 --size 80 --ondisk sda
#part raid.1 --size 80 --ondisk sdb
#raid swap raid.0 raid.1 --level 1 --device md0
install
### Perform kickstart installation in text mode
#text
### Stop at each screen during the kickstart
### installation
#interactive
### Mouse Configuration
### Will only setup 3 types of mice
### generic - 2-button serial
### genericps/2 - 2-button ps/2
### msintellips/2 - MS Intellimouse
### All three can be setup with or without 3-button
### emulation
### Run 'mouseconfig --help' in order to see other
### supported mouse type and make appropriate change
### NOTE: You will need to run 'mouseconfig' manually
### after installation if you have a non-ps/2 mouse
### and are installing X, as a ps/2 mouse is setup
### by default
#mouse generic --device ttyS0
mouse generic3ps/2
### Firewall Configuration
### options are high, medium, and disabled
# firewall --high --trust eth0 --ssh --port 1234:udp
firewall --high
### Time Zone Configuration
### Will get set to 'US/Eastern' if ZONE is missing
### from /etc/sysconfig/clock or if file is missing entirely
timezone --utc America/New_York
### X Configuration
### Will skip X configuration
### You may wish to run Xconfigurator manually after system installation
skipx
### You can uncomment and modify this line if you know the X configuration for your system
#xconfig --server "SVGA" --monitor "viewsonic g773" --depth 16 --resolution 800x600 --defaultdesktop=GNOME --startxonboot --card "Matrox Millennium" --videoram 1024
### Root Password Designation
### e.g. 'rootpw ThisIsThePassword' will get root's password to
### "ThisIsThePassword"
rootpw paSSword
#rootpw --iscrypted g.UJ.RQeOV3Bg
### Reboot system after installation complete
#reboot
### Boot Loader Configuration
### GRUB is default bootloader
### lilo command has been replaced with bootloader
bootloader --location=mbr
#bootloader --location=mbr --append hdd=ide-scsi --password=GRUBpasswd
### Package Designation
### The package names, as well as the groups they are a part of can be
### found in the /RedHat/base/comps file; individual packages can be
### specified by entering their names one per line;
### groups (e.g. 'X Window System') can be specified
### by appending a "@" in front of the group name;
### e.g. '@ X Window System'
%packages
### Automatically resolve dependences
#%packages --resolvedeps
### Ignore unresolved dependencies
#%packages --ignoredeps
python
@ X Window System
### Include the contents of another file in the kickstart
### file
#%include /path/to/file
### Commands to be run immediately after this file has been parsed
%pre
echo "Kickstart-installed Red Hat Linux `/bin/date`"
### Commands to be run post-installation
%post
echo "Kickstart installation" > /tmp/message