Cobbler is a free and open source Linux installation server that can be used to automate the network installation environments from a central location. It allows you to install operating systems automatically on multiple systems simultaneously and also helps you to manage package updates, configuration management, manage DNS, DHCP and much more.
Prerequisites
A KVM-VM with Rocky Linux release 8.9 (Green Obsidian)
Static IP as below
eth0 for internet access to download and install cobbler.
eth1 for PXE-Booting/DNS/DHCP
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:1e:49:52 brd ff:ff:ff:ff:ff:ff
altname enp1s0
inet 192.168.122.51/24 brd 192.168.122.255 scope global dynamic noprefixroute eth0
valid_lft 39073sec preferred_lft 39073sec
inet6 fe80::5054:ff:fe1e:4952/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group default qlen 1000
link/ether 52:54:00:86:59:a6 brd ff:ff:ff:ff:ff:ff
altname enp2s0
inet 192.168.100.218/24 brd 192.168.100.255 scope global dynamic noprefixroute eth1
valid_lft 2865sec preferred_lft 2865sec
inet6 fe80::2d5b:adc6:53d8:f407/64 scope link noprefixroute
valid_lft forever preferred_lft forever
Before starting, you will need to disable Selinux on the server. You can do this by editing /etc/selinux/config file:
/etc/selinux/config
Make the following changes:
SELINUX=disabled
Save and close the file. Then, restart your server to apply the changes.
Once you are logged into your VM-instance, run the following command to update your base system with the latest available packages.
yum update -y
Install Cobbler
By default, Cobbler is not available in the RocklyLinux default repository. So you will need to add EPEL repository to your server. You can add it with the following command:
yum install epel-release -y
Once the repository has been installed, you can install Cobbler with other required packages by running the following command:
Introduction
Prerequisites
Install Cobbler
Configure Cobbler
/etc/cobbler/settings.yaml
TASK COMPLETE
in the output.Import ISO files to Cobbler server ### Here I am testing Ubuntu-22.04
Verify Cobbler Distro List