Quoting Yvan Masson (2020-01-29 18:09:30)
> Le 29/01/2020 à 15:10, Jonas Smedegaard a écrit :
> > Quoting Yvan Masson (2020-01-29 14:50:26)
> >> I am automating Buster installations with a preseed file. To do
> >> this, I boot the installer successfully with parameters `auto=true
> >> url=tftp://my_server domain=mydomain`.
> >>
> >> 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.
> >>
> >> Any idea?
> >
> > Not sure the exact answer to your question is there, but I recommend
> > to look throught the (old but full of clever insights some still
> > relevant) "hands-off" codebase: http://git.hands.com/hands-off
>
> Thanks for the link, but I am not able to find any solution there…
When you preseed from tftp, then you need network configured _before_
preseeding.
Either...
a) suppress the network-related question (as john doe suggests)
b) preseed the answers to network questions in custom early_script
(see hands-off for examples of doing complex stuff early)
c) preseed the answers to network questions at kernel cmdline
- 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