各位网友,好!今天。我在虚拟机上安装了cobbler 方便以后外出工作用。
环境:Centos 7.3 使用 默认的yum安装的cobbler
yum install cobbler cobbler-web dhcp tftp-server pykickstarthttpd -y
cobbler服务器顺利安装环境,dhcp 、httpd、 cobblerd 、xinetd 、tftp、rsyncd、 服务都启动正常。
新建一个虚拟机后配置为网卡启动,出现如下图:
选择Centos7.3-x86_64 后 继续引导过程中会报错
如图所示:
求各位大神是什么问题,我都弄了好久。怎么也没弄好。
[root@localhost kickstarts]# cobbler profile report
Name : Centos7.3-x86_64
TFTP Boot Files : {}
Comment :
DHCP Tag : default
Distribution : Centos7.3-x86_64
Enable gPXE? : 0
Enable PXE Menu? : 1
Fetchable Files : {}
Kernel Options : {'biosdevname': '0', 'net.ifnames': '0'}
Kernel Options (Post Install) : {}
Kickstart : /var/lib/cobbler/kickstarts/CentOS-7.3-x86_64.cfg
Kickstart Metadata : {}
Management Classes : []
Management Parameters : <<inherit>>
Name Servers : []
Name Servers Search Path : []
Owners : ['admin']
Parent Profile :
Internal proxy :
Red Hat Management Key : <<inherit>>
Red Hat Management Server : <<inherit>>
Repos : []
Server Override : <<inherit>>
Template Files : {}
Virt Auto Boot : 1
Virt Bridge : xenbr0
Virt CPUs : 1
Virt Disk Driver Type : raw
Virt File Size(GB) : 5
Virt Path :
Virt RAM (MB) : 512
Virt Type : kvm
以下是我的.cfg文件的内容:
#platform=x86, AMD64, or Intel EM64T
#version=DEVEL
# System language
lang en_US
# Keyboard layouts
keyboard 'us'
# System timezone
timezone Asia/Shanghai
# Root password
rootpw --iscrypted $default_password_crypted
#User text mode install
text
# Install OS instead of upgrade
install
# Use network installation
url --url=$tree
# System bootloader configuration
bootloader --location=mbr
#Clear the Master Boot Record
zerombr
# Use graphical install
#graphical
#firstboot --disable
# Partition clearing information
clearpart --all --initlabel
# Disk partitioning information
part /boot --fstype xfs --size 512 --ondisk sda
part swap --size 8192 --ondisk sda
part / --fstype xfs --size 1 --grow --ondisk sda
# System authorization information
auth --useshadow --enablemd5
# Network information
$SNIPPET('network_config')
# Reboot after installation
reboot
# Firewall configuration
firewall --disabled
#SELinux configuration
selinux --disabled
#Do not configure Xwindows
skipx
#Package install information
%pre
$SNIPPET('log_ks_pre')
$SNIPPET('kickstart_start')
$SNIPPET('pre_install_network_config')
#Enable installlation monitoring
$SNIPPET('pre_anamon')
%end
%packages
@base
@core
sysstat
iptraf
ntp
lrzsz
ncurses-devel
openssl-devel
zlib-devel
OpenIPMI-tools
nmap
screen
%end
%post
systemctl disable postfix.service
%end
麻烦各大神帮我看看是哪里出错了。
|