原因:
1,虚拟机的网卡和服务端不在一个模式上。
2,tftp没有开启
3,防火墙没有关闭
原因:内存小于2G, centos7以上的系统安装内存不能小于2G(但是你使用光盘安装是没有问题,这个问题我只在使用cobbler部署系统时遇见)
上面这个问题需要编辑ks文件(自带默认的也可以)在%packages 后加 --nobase
如图
这面这个硬件检测,需要修改ks文件增加一条unsupported_hardware
如图:
解决方法:
编辑 vi /var/lib/tftpboot/pxelinux.cfg/default
修改
LABEL ubuntu16.04-hwe-x86_64
kernel /images/ubuntu16.04-hwe-x86_64/linux
MENU LABEL ubuntu16.04-hwe-x86_64
append initrd=/images/ubuntu16.04-hwe-x86_64/initrd.gz ksdevice=bootif lang= text auto-install/enable=true priority=critical url=http://192.168.0.1/cblr/svc/op/ks/profile/ubuntu16.04-hwe-x86_64 hostname=ubuntu16.04-hwe-x8664 domain=local.lan suite=xenial
ipappend 2
在 lang= text 后加上 netcfg/choose_interface=auto
重启cobbler
Systemctl restart cobblerd
千万别执行同步,一旦执行就会覆盖你修改的内容!!
解决方法
yum -y install python-pip
pip install Django==1.8.9
systemctl restart httpd 刷新下页面用户名和密码都是cobbler
原文链接:使用coobler自动安装系统遇见的几个问题总结,转载请注明来源!