11.4. Adding a System to Cobbler
Once the distributions and profiles for Cobbler have been created, you can next add systems to Cobbler. System records map a piece of hardware on a client with the cobbler profile assigned to run on it.
Note
If you are provisioning via koan
and PXE menus alone, it is not required to create system records, though they are useful when system-specific kickstart templating is required or to establish that a specific system should always recieve a specific content installed. If there is a specific role inteded for a specified client, system records should be created for it.
The following command adds a system to the Cobbler configuration:
cobbler system add --name=string --profile=string --mac=AA:BB:CC:DD:EE:FF
The --name=string
is the unique label for the system, such as engineeringserver
or frontofficeworkstation
.
The --mac=AA:BB:CC:DD:EE:FF
option allows systems with the specified MAC address to automatically be provisioned to the profile associated with the system record if they are being kickstarted.
For more options, such as setting hostname or IP addresses, refer to the Cobbler manpage by typing man cobbler
at a shell prompt.