Hello Cyril,
Am 07.04.23 um 23:23 schrieb Cyril Brulebois:
Oliver Freyermuth <freyerm...@physik.uni-bonn.de> (2023-04-07):
Potentially relevant kernel commandline parameters:
netcfg/disable_dhcp=false ethdetect/prompt_missing_firmware=false
hw-detect/load_firmware=false locale=en_US.UTF-8 hostname=laptop.example.com
domain=example.com
This is likely #1031643, try using the full netcfg/get_hostname name
instead of the hostname alias on the kernel command line?
indeed, that seems to be the case — I can confirm using the full
netcfg/get_hostname name on the kernel command line prevents the question from
being shown,
and preseeding proceeds unattendedly again. :-)
That easily explains why I did not find any code changes in netcfg which could
explain this change in behaviour, since the reason is due to a kernel behavipur
change.
So this can probably be closed as a duplicate of #1031643.
I concur that the question is where to go from here — my real-world use case is using
Foreman [0] for machine deployment, which currently passes "hostname"
exclusively in its preseed/PXE templates.
If the decision is to drop support for the hostname alias, deployment software
like this one will of course need to be adapted (considering the alternatives,
that is certainly a viable option).
I'll hold back on upstreaming this change to Foreman until a decision on how to
proceed with #1031643 is made.
Thanks a lot and cheers,
Oliver
[0] https://theforeman.org/