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

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



While I prefer the way suggested here of using a new option for
the preseed file, our current implementation in d-i instead overloads
the "filename" option.

I tried to get it working as shown in this bug report, using
dhcp3-server. I removed the vendor-class-identifier test for simplicity,
so I had:

option space debian;
option debian.preseed-file code 1 = text;
vendor-option-space debian;
option debian.preseed-file "http://dragon/~joey/preseed.cfg";;

With this I didn't see anything added to the lease file, or any new
variables show up in dhclient-script. This might have to do with the
version of dhclient we're using in the installer.

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";;
}

-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: