I needed a simple way to mirror some repos, and potentially kickstart some servers at a future date. While something like The Foreman would do the build side of things it doesn’t repo mirrors (yet). So I did an install of Cobbler.

This turned out to be more stright forward than I thought, first you need to ensure EPEL is enabled ….

yum install http://ftp.linux.ncsu.edu/pub/epel/6/i386/epel-release-6-8.noarch.rpm
yum install cobbler cobbler-web pykickstart
chkconfig cobblerd on
chkconfig xinetd on
service httpd restart
service xinetd start
service cobblerd start
service cobblerd status
cobbler get-loaders
vim /etc/cobbler/modules.conf
# Make the following changes ….
[dns]
module = manage_dnsmasq
[dhcp]
module = manage_dnsmasq
[authentication]
module = authn_configfile
[authorization]
module = authz_allowall
# once done save and run the following ….
cobbler check
cobbler sync
# cobbler sets the username and password for the web interface to cobbler / cobbler, change that by running ….
htdigest /etc/cobbler/users.digest “Cobbler” cobbler

….. all done. You should be able to access your installation at …..

Written by Russ McKendrick

I am he as you are he as you are me and we are all together

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s