> On 29 Jan 2022, at 20:14, Holger Wansing <[email protected]> wrote: > > Hi, > > Jonas Bygdén <[email protected] <mailto:[email protected]>> wrote (Thu, 20 > Jan 2022 22:40:12 +0100): >> However (albeit strange after reading the docs) if I remove the priority >> boot-parameter completely I DO get the hostname/domainname question and THEN >> I get the question about where to find the preseed file. Looking promising >> so far. > > > That's correct so far. > It works like it was designed: > with the priority parameter you can control, if you want to see only the most > important questions or all (new-user installation vs. expert installation). > That only makes sense for interactive installations. > > When doing automated installations via preseeding, that's a complete > different story. > In that case, the control of which question you see and which not is > lying in your preseed file: if you answer a question via your preseed file, > the installer does not need to ask that anymore, because it's already > answered. >
Yes, I understand that - having extensive experience with both Solaris Jumpstart and RHEL kickstart. What I found perplexing was that regardless of setting in the preseed I still HAVE to unset the priority parameter to force the question about hostname. I read a post at StackExchange <https://unix.stackexchange.com/questions/106614/preseed-cfg-ignoring-hostname-setting> on the subject - and one of the answers to it made sense to me: "It's debian-installer limitation. By the time you fetch your preseed config file from network, netcfg has already done it's job and is gone, so it won't refetch values.” Understanding that, in combination with the priority parameter was what solved it for me in the end. > > Holger > > > >>> On 20 Jan 2022, at 20:56, Jonas Bygdén <[email protected] >>> <mailto:[email protected]>> wrote: >>> >>> After setting priority to ‘high’ instead of ‘critical’ I don’t even get the >>> question about where to find the preseed file... >>> >>>> On 20 Jan 2022, at 19:46, john doe <[email protected] >>>> <mailto:[email protected]> <mailto:[email protected] >>>> <mailto:[email protected]>>> wrote: >>>> >>>> On 1/20/2022 5:11 PM, Jonas Bygdén wrote: >>>>> Ok, now it looks like this: >>>>> >>>>> # Any hostname and domain names assigned from dhcp take precedence over >>>>> # values set here. However, setting the values still prevents the >>>>> questions >>>>> # from being shown, even if values come from dhcp. >>>>> d-i netcfg/get_hostname string unassigned-hostname >>>>> d-i netcfg/get_domain string unassigned-domain >>>>> d-i netcfg/get_hostname seen false >>>>> d-i netcfg/get_domain seen false >>>>> >>>>> # If you want to force a hostname, regardless of what either the DHCP >>>>> # server returns or what the reverse DNS entry for the IP is, uncomment >>>>> # and adjust the following line. >>>>> #d-i netcfg/hostname string somehost >>>>> #d-i netcfg/hostname seen false >>>>> >>>>> # Disable that annoying WEP key dialog. >>>>> #d-i netcfg/wireless_wep string >>>>> # The wacky dhcp hostname that some ISPs use as a password of sorts. >>>>> d-i netcfg/dhcp_hostname string debian >>>>> d-i netcfg/get_hostname seen false >>>>> d-i netcfg/get_domain seen false >>>>> >>>>> But still - it goes directly to the partitioning after choosing keyboard >>>>> layout, without any hostname question. >>>>> >>>> >>>> Maybey setting the 'priority' to 'high' instead of 'critical'. >>>> >>>> -- >>>> John Doe >>> >> > > > -- > Holger Wansing <[email protected] <mailto:[email protected]>> > PGP-Fingerprint: 496A C6E8 1442 4B34 8508 3529 59F1 87CA 156E B076

