cobbler在centos7上有。操作是在centos7上实现自动化安装centos7.centos8。
安装软件包:
yum -y install httpd dhcp tftp cobbler pykickstart
配置tftp文件:
[root@centos7 ~]# vim /etc/xinetd.d/tftp
设置开机自启服务
[root@centos7 ~]# systemctl enable --now cobblerd httpd tftp
关闭防火墙
[root@centos7 ~]# systemctl disable --now firewalld
关闭selinux,修改配置后需要重启生效
[root@centos7 ~]# sed -i.bak 's/SELINUX=enforcing/SELINUX=disbale/' /etc/selinux/config
下载启动的相关文件
[root@centos7 ~]#cobbler get-loaders
[root@centos7 ~]# tree /var/lib/cobbler/loaders
/var/lib/cobbler/loaders
├── COPYING.elilo
├── COPYING.syslinux
├── COPYING.yaboot
├── elilo-ia64.efi
├── grub-x86_64.efi
├── grub-x86.efi
├── menu.c32
├──