On Sat, Jul 23, 2005 at 03:15:12PM -0400, Joey Hess wrote: > > I've wanted for a while a way to let dhcp servers broadcast a preseed > file (either content or url). If you can point me at a way to make a > dhcp server do that and show me what it looks like to a dhcp client, > then the rest of the peices should be very easy to put together.
My idea is based on having seen | if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { | filename "/eb-ROM-image.lzpxe"; | } else if substring (option vendor-class-identifier, 0, 9) = "Etherboot" | { | filename "/kernel.img"; | } in a DHCP _server_ configuration file. I still haven't found time to dive into netcfg to find out which vendor-class-identifier is emits (broadcasts). When netcfg in d-i includes "inStaller" as vendor-class-identifier, then can at DHCP server side the configuration contain: | if substring (option vendor-class-identifier, 0, 9) = "PXEClient" { | filename "/eb-ROM-image.lzpxe"; | } else if substring (option vendor-class-identifier, 0, 9) = "Etherboot" | { | filename "/kernel.img"; | } else if substring (option vendor-class-identifier, 0, 9) = "inStaller" | { | filename "http://webserver.domain.tld/path/to/preseed.cfg"; | } The string "http://webserver.domain.tld/path/to/preseed.cfg" is an URL that is understood by `wget`. Cheers Geert Stappers -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]