自動生成的啓動文件anaconda
# Kickstart file automatically generated by anaconda. 版本=開發 #version=DEVEL
系統安裝途徑光盤 install cdrom
lang zh_CN.UTF-8 keyboard us
網絡配置 network --onboot no --device eth0 --bootproto dhcp --noipv6
root密碼 rootpw --iscrypted $6$5XHy/O.DtgKiMf04$5MayVZSdodEj3iwUDYBzAiGETZwuI.u8SZRF3a04vMcgQVzOnEPXz35PAKackJDRHfVUTtQYFCUGNebDaQdd./
防火牆開啓的端口 firewall --service=ssh
認證加密方式 authconfig --enableshadow --passalgo=sha512
seliunx級別信息 selinux --enforcing
時區 timezone --utc Asia/Shanghai
系統啓動引導 bootloader --location=mbr --driveorder=sda --append="crashkernel=auto rhgb quiet" # The following is the partition information you requested # Note that any partitions you deleted are not expressed # here so unless you clear all partitions first, this is # not guaranteed to work #clearpart --none 磁盤信息 #part /boot --fstype=ext4 --size=200 #part swap --size=2000 #part / --fstype=ext4 --grow --size=200 repo以及本地安裝包,centos網絡安裝包 repo --name="CentOS" --baseurl=cdrom:sr0 --cost=100 %packages @chines-support @core @server-policy
結束 %end語言和鍵盤佈局