以下对cobbler部署的操作,只是提供一个启动模型,还没进入系统
部署环境:防火墙关闭,selinx关闭,有epel源
装包:epel-release cobbler cobbler-web tftp-server dhcp httpd xinetd
启服务:[root@localhost ~]# systemctl start httpd cobblerd.service
[root@localhost ~]# cobbler check //可以看到有9条需要配置
The following are potential configuration items that you may want to fix:
1 : The 'server' field in /etc/cobbler/settings must be set to something other than localhost, or kickstarting features will not work. This should be a resolvable hostname or IP for the boot server as reachable by all machines that will use it.
需配置:
[root@localhost ~]# sed -ri '/allow_dynamic_settings:/c\allow_dynamic_settings: 1' /etc/cobbler/settings //针对server需要先将动态设为1
[root@localhost ~]# cobbler setting edit --name=server --value=192.168.122