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

Re: Can't find a way to preseed keyboard layout for all d-i questions



Quoting Yvan Masson (2020-01-31 20:37:29)
> Le 31/01/2020 à 16:50, john doe a écrit :
> > On 1/31/2020 10:36 AM, Yvan Masson wrote:
> >> Le 29/01/2020 à 18:16, MAS Jean-Louis a écrit :
> >>> Le 29/01/2020 à 14:50, Yvan Masson a écrit :
> >>>
> >>>> However, before loading preseed.cfg, installer asks for computer name: I
> >>>> would like this question to be asked in French and more importantly to
> >>>> have the keyboard layout configured in French.
> >>>>
> >>>> I have tried many boot parameters (layout=fr, layout=fr(latin9),
> >>>> language=fr, language=fr_FR.UTF-8…) but could not find anything working.
> >>>>
> >>>> After answering this question, preseed.cfg is loaded so language and
> >>>> keyboard layout are properly applied.
> >>>
> >>> It's a well known bug unfortunately
> >>>
> >>> I have asked the same question some time ago on the French debian-user
> >>> list, and frederic boiteux gave me some interesting clues.
> >>>
> >>> You may search for this thread :
> >>>
> >>> "Configurer un clavier français via preseed"
> >>>
> >>> A similar bug was reported with an Hungarian keyboard, without any fixes
> >>> so far.
> >>>
> >>> https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=931368
> >>>
> >>> Regards
> >>
> >> Thanks for the information. However I just checked by doing a fresh
> >> installation with BIOS PXE boot, di-netboot-assistant and a preseed file
> >> served by TFTP: locale and keyboard layout are properly applied:
> >> - during install once preseed.cfg is loaded
> >> - after reboot
> > 
> > Yes, because this is delayed after the preseed file is fetched! :)
> > 
> > But if I'm not mistaking, you want to be able to specify the hostname
> > manually because you have no control over the dhcp server?
> > 
> Exactly, so I want to preseed most of the question but:
> - hostname
> - user password
> 
> As the hostname and domain are asked before preseed file is fetched, I 
> tried to use boot options to set the domain (it works) and the locale 
> (which does not work).
> 
> Maybe preseeding has not been designed to use both file and command line 
> options… I will submit a bug report, please tell me if you think I 
> shouldn't.

I certainly think you should file this as a bugreport!

Even if this turns out to not be a bug in the code, it seems to be that 
at least it is arguably a bug in the documentation.

 - Jonas

-- 
 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature


Reply to: