1. prereq
curl -s http://d01cid.ddns.net/sharel/bin/inst-httpd | sh
2. installation
yum -y install cobbler cobbler-web dnsmasq syslinux pykickstart
cobbler get-loaders
3. configuration
cube /etc/xinetd.d/tftp "disable<TAB><TAB><TAB>= yes" with "disable<TAB><TAB><TAB>= no"
systemctl restart xinetd.service
cube /etc/cobbler/settings "server: 127.0.0.1" with "server: 10.1.1.121"
openssl passwd -1 -salt cid
Password:
$1$cid$vkProF7DoumvHKWmQ6.DF0
cube /etc/cobbler/settings 'default_password_crypted: "$1$mF86/UHC$WvcIcX2t6crBz2onWxyac."' with 'default_password_crypted: "$1$cid$pimPhz46c4q8DkuBjYRi41"'
systemctl enable rsyncd.service
cube /etc/cobbler/modules.conf "module = manage_bind" with "module = manage_dnsmasq"
cube /etc/cobbler/modules.conf "module = manage_isc" with "module = manage_dnsmasq"
4. services
systemctl restart httpd.service
systemctl enable cobblerd.service
systemctl start cobblerd.service
5. checking
cobbler check
cobbler sync