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

Re: How to get preseed to ASK me for hostname + strange partitioning behaviour



Am Donnerstag, dem 20.01.2022 um 16:41 +0100 schrieb Jonas Bygdén:

[..]

> 
> Do you mean at the end of the file, or is it enough to have it at the end of
> the section?

I usually put the "seen false" statements at the end of the file. But it
shouldn't be any problem to put them at the end of the section.

> I now have this in my preseed file, at the place where it’s in the example
> file, since I’ve based my config on that:
> 
> # 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 seen false
> #d-i netcfg/get_domain seen false
> #d-i netcfg/get_hostname string unassigned-hostname
> #d-i netcfg/get_domain string unassigned-domain

It wouldn't work in that order. The pre-seeding will set the dialog to "seen
true". So any "seen false" statement must come *after* pre-seeding a value.

> d-i netcfg/get_hostname unassigned-hostname
                        ^^^
There is a "string" missing.

> d-i netcfg/get_domain unassigned-domain
                      ^^^^
Ditto.

> d-i netcfg/get_hostname seen true
> d-i netcfg/get_domain seen true
                       ^^^^^^^^^^^

You have set everything to "seen true", not "false". Maybe you want to check
that again?

Regards, Daniel
-- 
Regards,
Daniel Leidert <dleidert@debian.org> | https://www.wgdd.de/
GPG-Key RSA4096 / BEED4DED5544A4C03E283DC74BCD0567C296D05D
GPG-Key ED25519 / BD3C132D8B3805D1808123AB7ACE00941E338C78

https://www.fiverr.com/dleidert
https://www.patreon.com/join/dleidert

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: