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

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/hellfu/article/details/82320824

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

扫描二维码关注公众号,回复: 4193700 查看本文章

# 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

猜你喜欢

转载自blog.csdn.net/hellfu/article/details/82320824
今日推荐