# pixie netboot-pc live env: bake a BROAD driver set into the initramfs.
#
# The live env's very first action after the kernel hands off is to
# fetch its squashfs over HTTP from the kernel cmdline `fetch=` param
# (Debian live-boot). That means the target's NIC must be driven from
# INSIDE the initramfs, before pivot-root -- iPXE loaded vmlinuz+initrd
# over the firmware's network stack, but from Linux on it's the kernel
# module that matters.
#
# mkinitramfs' default is MODULES=dep: only the drivers the BUILD HOST
# needs. So the netboot-pc initrd shipped drivers for the builder's NIC
# (plus the r8125 DKMS hook) and nothing else -- a target with a
# different NIC (e.g. matx / ASRock Rack) came up to `initrd` and then
# stalled forever at the squashfs fetch, because its NIC had no driver.
#
# MODULES=most bakes the broad Debian-installer driver set, so an
# arbitrary lab box's NIC (and storage) is alive before the fetch.
# Costs initramfs size (~2x); acceptable for a netboot appliance whose
# whole job is booting unknown hardware. Narrow to an explicit NIC list
# in /etc/initramfs-tools/modules later if size becomes a problem and
# the target NICs are known.
MODULES=most
