Cobbler usage¶
Warning
If you are not familiar with the Cobbler terminology, we strongly advise you to read the glossary :)
General usage¶
When you create a new “system”, Cobbler makes the following operations:
- Reads the profile used by the system to create the installation ISO. The distribution (distro) is defined in the profile.
- Generates the kickstart. The kickstart template is defined in the profile. The template is instantiate with the “profile” and the “system” informations.
- The kickstart template may refer to several snippets.
How to view/modify a profile?¶
Go to Cobbler
Open the “profiles” view:
Choose a profile:
Edit the profile:
The “virtualization” tab allows to set hardware resources:
It may be used with Koan <http://cobbler.github.io/manuals/2.6.0/6/3_-_Installing-virtual-guests.html>_ to deploy virtual machine.
How to view/modify the kickstart?¶
Go to Cobbler
Open the “Kickstart Templates” view:
Choose the kickstart
Edit the kickstart:
How to view/modify a snippet?¶
Go to Cobbler
Open the “Snippets” view:
Choose a snippet
partitioning.conf
Edit the snippet:
Glossary¶
- distro
- According to the Cobbler terminology, a “distro” is the configuration of an operating system. Ex: RHEL 6.5, Centos 7.2
- kickstart
- A file containing the answers to all the questions that would normally be asked during a typical OS installation (RHEL Linux type). Kickstart provides a way for users to automate any OS installation.
- profile
- A profile contains all configurations of the infrastructure and the platform (distro, CPU, RAM, Disk...). It’s like a model/template that can be refered by a system.
- snippet
- Snippets are a way of reusing common blocks of code between kickstarts. Its may be seen as function/macro. A snippet is saved in a separate file.
- system
- According the Cobbler terminology, a “system” contains the configuration of a particular machine. In other terms, it is an instance of a profile. For example, it contains specific network informations of a machine (IP, gateway, hostname...)