CentOS7.5-PXE高效批量網路裝機,裝機失敗
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