centos6.5的開機自動部署出現unsupported hardware detected


author:headsen chen  

date : 2017-12-01  14:52:50  .

notice:created by  headsen chen,if you copy or transmit  should passed by chen himself .or you will meet question of law.

故障現象:

開機自動化部署全部完成后,新建一個虛擬機,開機,並從網絡啟動:

若果手動點擊OK,也可以進入到下一步的自動安裝。但不是智能化的一鍵安裝。

解決方法:

服務端的ks.cfg 文件里添加一條:unsupport_hardware,就可以了:

  補:整個的ks.cfg文件如下:

#platform=x86, AMD64, 或 Intel EM64T
#version=DEVEL
unsupported_hardware
# Firewall configuration
firewall --disabled
# Install OS instead of upgrade
install
# Use network installation
url --url="http://10.0.0.1/rhel/"
# Root password
rootpw --iscrypted $1$Fn3HVews$q1gPsydA4Rs4wqsxl7PUO0
# System authorization information
auth --useshadow --passalgo=sha512
# Use graphical install
graphical
firstboot --disable
# System keyboard
keyboard us
# System language
lang en_US
# SELinux configuration
selinux --disabled
# Installation logging level
logging --level=info
# Reboot after installation
reboot
# System timezone
timezone Asia/Hong_Kong
# Network information
network --bootproto=dhcp --device=eth0 --onboot=on
# 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=1024
part / --fstype="ext4" --grow --size=1

 

%packages
@base
@chinese-support
@core
@debugging
@basic-desktop
@desktop-debugging
@desktop-platform
@directory-client
@fonts
@general-desktop
@graphical-admin-tools
@input-methods
@internet-applications
@internet-browser
@java-platform
@legacy-x
@network-file-system-client
@office-suite
@print-client
@remote-desktop-clients
@server-platform
@server-policy
@x11
mtools
pax
oddjob
wodim
sgpio
genisoimage
device-mapper-persistent-data
abrt-gui
samba-winbind
certmonger
pam_krb5
krb5-workstation
gnome-pilot
libXmu
%end

 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM