kickstart模板配置文件,自己记录一下~~~~~正在用的。
#platform=x86, AMD64, or Intel EM64T #version=DEVEL # Firewall configuration firewall --disabled # Install OS instead of upgrade install # Use NFS installation media nfs --server=10.2.31.200 --dir=/mnt/iso/ # Root password rootpw --iscrypted $1$/Jo7M3mL$ZAb7yvQHidccWRO1QTXSH1 # System authorization information auth --useshadow --passalgo=sha512 # Use graphical install graphical firstboot --disable # System keyboard keyboard us # System language lang en_US # SELinux configuration selinux --disabled # Installation logging level logging --level=info # Reboot after installation reboot # System timezone timezone Asia/Shanghai # Network information network --bootproto=dhcp --device=eth0 --onboot=on # System bootloader configuration bootloader --location=mbr # Clear the Master Boot Record zerombr # Partition clearing information clearpart --all part /boot --fstype=ext4 --size=500 part pv.008002 --grow --size=1 volgroup vg_kickstart6 --pesize=4096 pv.008002 logvol / --fstype=ext4 --name=lv_root --vgname=vg_kickstart6 --grow --size=1024 --maxsize=51200 logvol swap --name=lv_swap --vgname=vg_kickstart6 --grow --size=2016 --maxsize=4032 %packages @additional-devel @base @basic-desktop @compat-libraries @console-internet @desktop-debugging @desktop-platform @development @fonts @ftp-server @general-desktop @graphical-admin-tools @graphics @input-methods @internet-applications @internet-browser @kde-desktop @legacy-x @remote-desktop-clients @x11 %end