key --skip #platform=x86, AMD64, or Intel EM64T # System authorization information auth --useshadow --enablemd5 # System bootloader configuration bootloader --location=mbr # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel # Use text mode install text # Firewall configuration firewall --disabled # 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 CDROM installation media cdrom # Network information network --bootproto=static --device=eth0 --gateway=192.168.1.1 --ip=192.168.1.100 --netmask=255.255.255.0 --hostname TEST --onboot=on # Reboot after installation reboot #Root password rootpw --iscrypted $1$TLdsj9ip$75MpTjhbWj0QvTsG2RwQq/ # SELinux configuration selinux --disabled # System timezone timezone --isUtc Asia/Shanghai # Install OS instead of upgrade install # X Window System configuration information xconfig --defaultdesktop=GNOME --depth=24 --resolution=1024x768 # Disk partitioning information part /boot --bytes-per-inode=4096 --fstype="ext3" --size=1 part / --asprimary --bytes-per-inode=4096 --fstype="ext3" --grow --size=1 part swap --bytes-per-inode=4096 --fstype="swap" --size=4096 %packages @development-libs @editors @system-tools @text-internet @x-software-development @gnome-desktop @dialup @core @base @legacy-software-development @java @base-x @server-cfg @admin-tools @development-tools @graphical-internet perl-libxml-perl perl-XML-SAX tog-pegasus-devel perl-LDAP perl-Convert-ASN1 perl-DateManip perl-XML-Twig perl-XML-Grove perl-XML-Dumper python-imaging libusb-devel perl-Crypt-SSLeay perl-Mozilla-LDAP perl-TimeDate perl-XML-NamespaceSupport tog-pegasus festival audit xorg-x11-xbitmaps mesa-libGLw-devel openmotif-devel icon-naming-utils mesa-libGLU-devel icon-slicer xorg-x11-server-sdk libXp-devel kexec-tools device-mapper-multipath gtk+ xorg-x11-utils xorg-x11-server-Xnest xorg-x11-server-Xvfb dejagnu imake gcc-objc ElectricFence memtest86+ gcc-gnat expect unifdef python-docs nasm -sysreport