ks.cfg文件內容,最後三行無法在圖形界面設置,需手工編輯
#platform=x86, AMD64, or Intel EM64T #version=DEVEL # Install OS instead of upgrade install # Keyboard layouts keyboard 'us' # Reboot after installation reboot # Root password rootpw --iscrypted $1$oa9SQZPI$aOfoMv.G9bLvY6DJKXJ491 # System timezone timezone Asia/Shanghai # Use network installation url --url="http://192.168.1.100/cdrom" # System language lang en_US # Firewall configuration firewall --disabled # Network information network --bootproto=dhcp --device=eth0 # System authorization information auth --useshadow --passalgo=sha512 # Use text mode install text # SELinux configuration selinux --disabled # Do not configure the X Window System skipx # System bootloader configuration bootloader --location=mbr # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all --initlabel # Disk partitioning information part /boot --fstype="xfs" --ondisk=sda --size=500 part / --fstype="xfs" --ondisk=sda --size=10000 part swap --fstype="swap" --ondisk=sda --size=4000 %packages @core %end