I'm working on an inherited cobbler server managing dhcp and dns.  My
first attempt to add a server to cobbler for PXE boot and kickstart
failed, however, due to the following dhcp.conf generated after a
cobbler sync:

### /etc/dhcpd.conf
# ******************************************************************
# Cobbler managed dhcpd.conf file
# generated from cobbler dhcp.conf template (Tue Sep 16 20:45:14 2008)
# ******************************************************************
ddns-update-style none;
authoritative;

#ddns-update-style interim;

allow booting;
allow bootp;

option domain-name "xyz.testlab";
option domain-name-servers 192.168.13.211;

ignore client-updates;
set vendorclass = option vendor-class-identifier;

subnet 192.168.110.0 netmask 255.255.254.0 {
     option routers          192.168.110.240;
     option subnet-mask      255.255.254.0;
#     range dynamic-bootp     192.168.1.100 192.168.1.254;
     filename                "/pxelinux.0";
     default-lease-time      21600;
     max-lease-time          43200;
     next-server             192.168.110.118;
     option domain-name "xyz.testlab";
     option domain-name-servers 192.168.13.211;


}

$insert_cobbler_system_definitions
###EOF

For some reason, the insert_cobbler_system_definitions variable is
being left as is.  This prevents dhcpd from starting and even if I
remove it from the template, I am left without what I assume should be
my host definitions.  Here also is our settings file:

###/etc/cobbler/settings
allow_duplicate_macs: 0
allow_duplicate_ips: 0
bind_bin: /usr/sbin/named
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: xenpv
default_virt_file_size: 5
default_virt_ram: 512
default_ownership: "admin"
dhcpd_bin: /usr/sbin/dhcpd
dhcpd_conf: /etc/dhcpd.conf
dnsmasq_bin: /usr/sbin/dnsmasq
dnsmasq_conf: /etc/dnsmasq.conf
httpd_bin: /usr/sbin/httpd
http_port: 80
kernel_options:
    ksdevice: eth0
    lang: ' '
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='
manage_dhcp: 1
manage_dns: 1
next_server: '192.168.110.118'
omapi_enabled: 0
omapi_port: 647
omshell_bin: /usr/bin/omshell
pxe_just_once: 1
register_new_installs: 1
run_install_triggers: 1
server: 'manager.xyz.testlab'
snippetsdir: /var/lib/cobbler/snippets
syslog_port: 25150
tftpd_bin: /usr/sbin/in.tftpd
tftpd_conf: /etc/xinetd.d/tftp
webdir: /var/www/cobbler
xmlrpc_port: 25151
xmlrpc_rw_enabled: 1
xmlrpc_rw_port: 25152
yum_post_install_mirror: 0
yumdownloader_flags: "--resolve"
manage_forward_zones:
    - 'xyz.testlab'
###EOF

Any guidance would be greatly appreciated.

-- 
--Greg Chavez
--
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to