#Get the box up to date
/usr/bin/yum -y update
#Install my favorite text editor
/usr/bin/yum -y install vim-enhanced ntp
#Create my yum list file
/usr/bin/yum list > /root/list.txt
#Turn on ntp
/sbin/chkconfig ntpd on

#Update the system time
/usr/sbin/ntpdate time.viviotech.net

#disable some un-needed services
/sbin/chkconfig cups off
/sbin/chkconfig yum-updatesd off
/sbin/chkconfig iptables off
/sbin/chkconfig ip6tables off
/sbin/chkconfig firstboot off
/sbin/chkconfig bluetooth off
/sbin/chkconfig smartd off
/sbin/chkconfig kudzu off
/sbin/chkconfig named on
/sbin/chkconfig restorecond off


#Additional services that can be disabled
#/sbin/chkconfig acpid off
#/sbin/chkconfig atd off
#/sbin/chkconfig autofs off
#/sbin/chkconfig cpuspeed off
#/sbin/chkconfig gpm off
#/sbin/chkconfig haldaemon off
#/sbin/chkconfig isdn off
#/sbin/chkconfig mdmonitor off
#/sbin/chkconfig messagebus off
#/sbin/chkconfig netfs off
#/sbin/chkconfig nfslock off
#/sbin/chkconfig openibd off
#/sbin/chkconfig pcmcia off
#/sbin/chkconfig portmap off
#/sbin/chkconfig rawdevices off
#/sbin/chkconfig rpcgssd off
#/sbin/chkconfig rpcidmapd off
#/sbin/chkconfig smartd off
#/sbin/chkconfig xinetd off

#If its an AMD machine, you can do this
#/sbin/chkconfig microcode_ctl off

#If its a single cpu machine, you can do this
#/sbin/chkconfig irqbalance off

#reboot
/usr/bin/reboot

