Hi all,

We have an issue which Im certain that you guys have a clever answer to.

We are using multihoming (multiple VLANs) and today have to do a 'cobbler system edit .... --server=' for each
added node to have it talking the cobbler server on the correct network.
When we add SLES based profiles we have to specify '--kopts=...install=http://ip/cobbler/ks_mirror/sles11...' for each profile.

The issues we have are:

* Our default RHEL6 based Cobbler server does not provide a default gateway to the clients. I don't know how to solve it either.
  - See our dhcp.template file below

* Executing 'cobbler system edit...--server=...' updates 'autoyast=...' but not 'install=...'. Why?

Is there anyway without directly modifying the tftp files to get this working smoothly?

For our setup, it had helped alot if Cobbler had direct support for multihoming without gluing it together yourself.

As always, I appreciate the help from you guys...


Rgds,
Daniel







/etc/cobbler/dhcp.template
==================================
ddns-update-style interim;

allow booting;
allow bootp;

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


subnet NETWORK netmask NETMASK {
    option routers             ROUTER_IP;
    option domain-name-servers DNS1,DNS2;
    option subnet-mask         NETMASK;
    filename                   "/pxelinux.0";
    default-lease-time         21600;
    max-lease-time             43200;
    next-server                COBBLER_SERVER_IP;
}

...
MORE SUBNET DECLARATIONS
...
#for dhcp_tag in $dhcp_tags.keys():
    ## group could be subnet if your dhcp tags line up with your subnets
    ## or really any valid dhcpd.conf construct ... if you only use the
    ## default dhcp tag in cobbler, the group block can be deleted for a
    ## flat configuration
# group for Cobbler DHCP tag: $dhcp_tag
group {
        #for mac in $dhcp_tags[$dhcp_tag].keys():
            #set iface = $dhcp_tags[$dhcp_tag][$mac]
    host $iface.name {
        hardware ethernet $mac;
        #if $iface.ip_address:
        fixed-address $iface.ip_address;
        #end if
        #if $iface.hostname:
        option host-name "$iface.hostname";
        #end if
        #if $iface.subnet:
        option subnet-mask $iface.subnet;
        #end if
        #if $iface.gateway:
        option routers $iface.gateway;
        #end if
        filename "$iface.filename";
        ## Cobbler defaults to $next_server, but some users
        ## may like to use $iface.system.server for proxied setups
        ##next-server $next_server;
        ##Next-server $iface.next_server;
    }
        #end for
}
#end for

==================================