首页 > 其他 > 详细

安装完centos7 root目录下的文件anaconda-ks.cfg

时间:2020-10-22 09:41:42      阅读:94      评论:0      收藏:0      [点我收藏+]
自动生成的启动文件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

  

安装完centos7 root目录下的文件anaconda-ks.cfg

原文:https://www.cnblogs.com/xiaoai666/p/13855940.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!