11.3. Adding a Profile to Cobbler
Once you have configured a distribution to Cobbler, you can then add profiles to Cobbler.
Cobbler profiles associate a distribution to additional options, like kickstart files. Profiles are the core unit of provisioning and there must be at least one Cobbler profile for every distribution added. For example, two profiles might be created for a web server and a desktop configuration. While both profiles use the same distro, the profiles are for different installations types.
For information about creating and configuring kickstart profiles from the RHN Satellite interface, refer to Section 7.4.9.2, “Kickstart Profiles”.
The usage of
cobbler
to create profiles from the command line is as follows:
cobbler profile add --name=string --distro=string [--kickstart=url] [--virt-file-size=gigabytes] [--virt-ram=megabytes]
The
--name=string
is the unique label for the profile, such as rhel5webserver
or rhel4workstation
.
The
--distro=string
switch specifes the distribution that will be used for this particular profile. Distributions were added in Section 11.2, “Adding a Distribution to Cobbler”.
The
--kickstart=url
option specifies the location of the kickstart file (if available).
The
--virt-file-size=gigabytes
option allows you to set the size of the virtual guest file image. The default is 5 gigabytes if left unspecified.
The
--virt-ram=megabytes
option specifies how many megabytes of physical RAM that a virtual guest system can consume. The default is 512 megabytes if left unspecified.