自动生成的启动文件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 --noipv6root密码 rootpw --iscrypted $6$5XHy/O.DtgKiMf04$5MayVZSdodEj3iwUDYBzAiGETZwuI.u8SZRF3a04vMcgQVzOnEPXz35PAKackJDRHfVUTtQYFCUGNebDaQdd./防火墙开启的端口 firewall --service=ssh认证加密方式 authconfig --enableshadow --passalgo=sha512seliunx级别信息 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