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

Bug#666069: network-preseed: Provide hardware information via http when fetching preseed URL?



Version: 1.41
Package: network-preseed
Severity: wishlist

When creating a enterprise system to automatically install machines
using PXE and debian-installer, it would be useful if the
network-preseed package would provide some information about the
hardware being installed when fetching the preseed file.  This could
be made optional, to not provide this information if such "information
leak" is unwanted.

A similar feature is available in the RedHat/Fedora installer
Anaconda, where it is enabled using the kssendmac kernel argument
during boot.  This causes the installer to include HTTP headers like
this when requesting the kickstart file:

  X-RHN-Provisioning-MAC-0: eth0 00:1A:A0:A0:AC:AC

This allow a web service to be set up to serve different kickstart
files depending on the MAC address of the client.  A limitation with
only providing MAC address is that you need to register a machine up
front to know if it got LAN console or any other special hardware that
need adjustments to the installation setup.

I would like d-i to do something similar, but not only provide the MAC
address(es).  I would also like the output from DMI and the PCI device
list.

The output from these dmidecode and lspci commands illustrate what I
would like to have included in the HTTP request to allow me to use it
to adjust the content of the preseed file:

  dmidecode -s chassis-type
  dmidecode -s baseboard-manufacturer
  dmidecode -s baseboard-product-name
  dmidecode -s baseboard-version
  dmidecode -s system-manufacturer
  dmidecode -s system-product-name
  dmidecode -s system-version
  lspci -n
-- 
Happy hacking
Petter Reinholdtsen



Reply to: