# Kickstart file automatically generated by anaconda. install url --url http://your-redhat-media-server/redhat/RHEL5U4-X64 key yourkey lang en_US.UTF-8 keyboard us xconfig --startxonboot network --device eth0 --bootproto dhcp --noipv6 --hostname example.lab rootpw password firewall --disabled selinux --disabled skipx services --disabled auditd,avahi-daemon,avahi-dnsconfd,bluetooth,conman,cpuspeed,cups,cups-config-daemon,firstboot,isdn,kudzu,nfslock,sendmail,apmd,gpm,pcmcia,portmap,rhnsd,rpcgssd,rpcidmapd,hidd,ip6tables,iptables,mcstrans,mdmonitor,pcscd,restorecond,setroubleshoot,smartd,xfs,yum-updatesd --enabled ntpd authconfig --enableshadow --enablemd5 timezone --utc Australia/Sydney bootloader --location=mbr --driveorder=sda --append="rhgb quiet" # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work clearpart --drives=sda --all --initlabel part /boot --fstype ext3 --size=100 --ondisk=sda part pv.2 --size=0 --grow --ondisk=sda volgroup VolGroup00 --pesize=32768 pv.2 logvol / --fstype ext4 --name=LogVol00 --vgname=VolGroup00 --size=1024 --grow logvol swap --fstype swap --name=LogVol01 --vgname=VolGroup00 --size=1000 --grow --maxsize=1984 reboot --eject %packages @admin-tools @base @core @smb-server @text-internet gcc expect libXp compat-libstdc++-296 compat-libstdc++-33 e4fsprogs %pre %post # install vmware tools rpm -Uvh http://your-redhat-media-server/VMwareTools-4.0.0-latest.i386.rpm /usr/bin/vmware-config-tools.pl --default