CentOS7.5-PXE高效批量网络装机,装机失败

本文介绍CentOS7.5虚拟机的最小内存需求为2GB,并提供了一个详细的ks.cfg配置文件示例,涵盖了从键盘布局到系统语言等各项设置。

CentOS6.5的虚拟机内存1G

CentOS7.1的虚拟机需要至少1G内存

CentOS7.5的虚拟机至少需要2G内存

错误提示:

1.超时

2.重启后出现小横杠

超时可能是因为:内存太小

重启后出现小横杠是因未安装引导程序

.

CentOS7.5的ks.cfg配置文件如下,仅供参考,密码是000000

#platform=x86, AMD64, 或 Intel EM64T
#version=DEVEL
# Install OS instead of upgrade
install
# Keyboard layouts
keyboard 'us'
# Root password
rootpw --iscrypted $1$zuMRjQht$ELlqreSBt1I4Buuon9PED/
# Use network installation
url --url="ftp://100.100.100.254/centos7"
# System language
lang en_US
# System authorization information
auth  --useshadow  --passalgo=sha512
# Use graphical install
graphical
firstboot --disable
# SELinux configuration
selinux --disabled

# Firewall configuration
firewall --disabled
# Network information
network  --bootproto=dhcp --device=ens33
# Reboot after installation
reboot
# System timezone
timezone Africa/Abidjan
# System bootloader configuration
bootloader --location=mbr
# Clear the Master Boot Record
zerombr
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part swap --fstype="swap" --size=2048
part /boot --fstype="xfs" --size=200
part / --fstype="xfs" --grow --size=1

%packages
@base

%end

评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

工具人01

仗剑天涯,从你的打赏开始

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值