[et-mgmt-tools] network configuration - Cobbler add versus ksmeta

Tom Brown tom at ng23.net
Tue Nov 27 14:19:58 UTC 2007


Hi - i am experimenting on how to pass network configuration to cobbler 
- i do it either by adding most information directly to the cobbler add 
command or passing it within the --ksmeta. Below are 2 examples, the 
first is populated with information mainly from within ksmeta, only the 
name, mac and profile to use is passed to cobbler add the rest is within 
ksmeta. This installs fine. The second example is where only the 
nameserver info is passed using ksmeta everything else comes from the 
cobbler add directly. The issue is the second example boots, gets an IP 
but then fails trying to retrieve the netstg2.img.

Anyone got any thoughts as to why this may be ? thanks

this works

depth: 2
    interfaces:
        intf0:
            dhcp_tag: ''
            gateway: ''
            hostname: ''
            ip_address: ''
            mac_address: '00:0C:29:71:D7:4D'
            subnet: ''
            virt_bridge: ''
    kernel_options: {}
    kickstart: <<inherit>>
    ks_meta:
        gateway: '192.168.10.1'
        hostname: box-2
        ip_address: '192.168.10.20'
        nameserver: '192.168.10.4'
        netmask: '255.255.255.0'
    name: box-2
    netboot_enabled: True
    parent: ''
    profile: CentOS-4.5-i386
    server: <<inherit>>
    virt_path: <<inherit>>
    virt_type: <<inherit>>

but this does not work

    depth: 2
    interfaces:
        intf0:
            dhcp_tag: ''
            gateway: '192.168.10.1'
            hostname: box-2
            ip_address: '192.168.10.20'
            mac_address: '00:0C:29:71:D7:4D'
            subnet: '255.255.255.0'
            virt_bridge: ''
    kernel_options: {}
    kickstart: <<inherit>>
    ks_meta:
        nameserver: '192.168.10.4'
    name: box-2
    netboot_enabled: True
    parent: ''
    profile: CentOS-4.5-i386
    server: <<inherit>>
    virt_path: <<inherit>>
    virt_type: <<inherit>>




More information about the et-mgmt-tools mailing list