A sample Cobbler configuration file with the following features:
- Managing of DHCP
- Managing of PXE
- Web interface enabled
- Syslogging of installations
Refer to cobbler default settings file for documentation on the various options.
Here is a compact view of it. Note that it applies to Cobbler version 1.0 or earlier, in more recent versions new configuration settings have been introduced and others have been deprecated.
---
allow_duplicate_macs: 0
allow_duplicate_ips: 0
bootloaders:
ia64: /var/lib/cobbler/elilo-3.6-ia64.efi
standard: /usr/lib/syslinux/pxelinux.0
default_kickstart: /etc/cobbler/default.ks
default_virt_bridge: xenbr0
# Default Virt type Values: xenpv, xenfv, qemu, vmware
default_virt_type: xenpv
# use this as the default disk size for virt guests (GB)
default_virt_file_size: 5
# use this as the default memory size for virt guests (MB)
default_virt_ram: 512
default_ownership: "admin"
httpd_bin: /usr/sbin/httpd
http_port: 80
# kernel options that should be present in every cobbler installation. Note the syslog line, define it if you want to syslog kickstart logs
kernel_options:
ksdevice: eth0
lang: ' '
syslog: '10.42.0.10:25150'
text: ~
ldap_server: "ldap.example.com"
ldap_base_dn: "DC=example,DC=com"
ldap_port: 389
ldap_tls: 1
ldap_anonymous_bind: 1
ldap_search_bind_dn: ''
ldap_search_passwd: ''
ldap_search_prefix: 'uid='
# ISC DHCP is managed
manage_dhcp: 1
manage_dhcp_mode: isc
restart_dhcp: 1
dhcpd_bin: /usr/sbin/dhcpd
dhcpd_conf: /etc/dhcpd.conf dnsmasq_bin: /usr/sbin/dnsmasq
dnsmasq_conf: /etc/dnsmasq.conf omapi_enabled: 0
omapi_port: 647
omshell_bin: /usr/bin/omshell
# DNS in not managed
manage_dns: 0
manage_forward_zones: []
manage_reverse_zones: []
restart_dns: 1
bind_bin: /usr/sbin/named
# Ip of the cobbler server with TFTP enabled for PXE boot
next_server: '10.42.0.10'
pxe_just_once: 0
register_new_installs: 0
run_install_triggers: 1
snippetsdir: /var/lib/cobbler/snippets
# Ip of Cobbler server
server: '10.42.0.10'
syslog_port: 25150
yum_post_install_mirror: 1
yumdownloader_flags: "--resolve"
#tftpboot: /tftpboot
tftpd_bin: /usr/sbin/in.tftpd
tftpd_conf: /etc/xinetd.d/tftp
webdir: /var/www/cobbler
# Enables Web Management interface (note that additional steps are necessary for WebUI setup
xmlrpc_rw_enabled: 1
xmlrpc_rw_port: 25152
xmlrpc_port: 25151