#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 graphical install graphical # 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 network installation url –url=http://192.168.11.10/CentOS # Reboot after installation reboot #Root password rootpw –iscrypted $1$9tL7tS6X$oX/M2PwyV1mKgGQLuckeD1# SELinux configuration selinux –disabled # System timezone timezone Asia/Shanghai # Install OS instead of upgrade install # X Window System configuration information xconfig –defaultdesktop=GNOME –depth=8 –resolution=640×480%packages @gnome-desktop @base-x @development-tools @development-libs @legacy-software-development @admin-tools @system-tools @graphical-internet @legacy-software-support @virtualization