platform=x86, AMD64, or Intel EM64T # System authorization information auth --useshadow --enablemd5 # System bootloader configuration bootloader --location=mbr --password=grub # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel # Use text mode install text # Firewall configuration firewall --enabled --http --ftp --ssh --telnet --smtp # Run the Setup Agent on first boot firstboot --disable # System keyboard keyboard us # System language lang en_US # Installation logging level logging --level=info # Use NFS installation media nfs --dir=/var/exports # Network information network --bootproto=static --device=eth0 --gateway= --ip= --nameserver= --netmask= --onboot=on network --bootproto=dhcp --device=eth1 --onboot=on # Reboot after installation reboot #Root password rootpw --iscrypted $1$vn4w0Yca$EReWuBqfWHkC7nrwoor8J0 # SELinux configuration selinux --disabled # System timezone timezone Etc/GMT # Install OS instead of upgrade install # X Window System configuration information xconfig --defaultdesktop=GNOME --depth=32 --resolution=1024x768 # Disk partitioning information part /boot --bytes-per-inode=4096 --fstype="ext3" --size=100 part /home --bytes-per-inode=4096 --fstype="ext3" --size=500 part /var --bytes-per-inode=4096 --fstype="ext3" --size=40096 part / --bytes-per-inode=4096 --fstype="ext3" --grow --size=1 %pre --interpreter=/bin/bash echo "This is Before Installation" %post --interpreter=/bin/bash echo "This is after Install %packages @base @cluster-storage @base-x @office @server-cfg @gnome-desktop @admin-tools @kvm @sound-and-video @authoring-and-publishing @graphics @legacy-software-support @kde-desktop @clustering @system-tools @graphical-internet @printing @editors @ftp-server @xen @games @text-internet @engineering-and-scientific @legacy-network-server @dns-server @emacs @java