[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#319524: please allow DHCP server to specify default archive mirror



On Tue, Feb 21, 2006 at 05:02:37PM -0500, Joey Hess wrote:
> So, here's how it's currently implemented instead:
> 
> if substring (option vendor-class-identifier, 0, 3) = "d-i" {
>         filename "http://dragon/~joey/preseed.cfg";;
> }


The emitted string is "NetcfgDHClient"   ( don't "d-i" )

ISC DHCP Server configuration file /etc/dhcp3/dhcpd.conf
should contain

    if substring (option vendor-class-identifier, 0, 14) = "NetcfgDHClient" {
      filename "proto://host.tld/path/to/preseed.cfg"; }
    else { filename "network/boot/image"; }



HtH
GSt



Reply to: