*Note: I'm actually installing Kali, not Debian, but from an installer perspective, they should be identical.
I have a rather unique use case, and I'm trying to perform a zero-touch installation from an internal repository using iPXE. In my iPXE script, I am passing all of my preseed arguments as kernel parameters. I have all of them working except mirror/http/hostname=<myrepository>. I have mirror/country=manual set, but no matter what I do, the installer ignores the hostname of my internal repository, sticks to the default repository, and fails. Looking at syslog, I get:
Code:
main-menu[1589] INFO: Menu item 'choose-mirror' selected
anna-install: Queueing udeb apt-mirror-setup for later installation
choose-mirror[2038]: DEBUG: command: wget -q http://http.kali.org/kali/dists/oldstable/Release -0 - | grep -E '^(Suite|Codename):'
choose-mirror[2038]: DEBUG: command: wget -q http://http.kali.org/kali/dists/stable/Release -0 - | grep -E '^(Suite|Codename):'
choose-mirror[2038]: DEBUG: command: wget -q http://http.kali.org/kali/dists/testing/Release -0 - | grep -E '^(Suite|Codename):'
choose-mirror[2038]: INFO: mirror does not have any suite symlinks
choose-mirror[2038]: DEBUG: command: wget -q http://http.kali.org/kali/dists/kali/Release -0 - | grep -E '^(Suite|Codename):'
choose-mirror[2038]: DEBUG: command: wget -q http://http.kali.org/kali/dists/oldstable/Release -0 - | grep -E '^(Suite|Codename):'
choose-mirror[2038]: WARNING **: mirror does not support the specified release (kali)
Note that even though I passed the hostname parameter, it sticks to the default (http.kali.org). HOWEVER, I hosted a preseed.cfg on a webserver that just contains:
d-i mirror/http/hostname string <myrepository>
When I pass the preseed.cfg to the kernel without changing any other kernel parameter, the installer works just fine, takes the argument, and installs from my internal repository. Any ideas why the preseed works only from a preseed.cfg and cannot be preseeded as a kernel parameter?