There are scripts for those, keyboard and language too. Also WiFi country, I forget what else. Locales is in there.
Take a look at a recent raspi-config. I think Odroid, maybe the Pine64 bunch has a generic-ized version of that. Armbian probably does too. Raspi-config is just a Bash script that uses Whiptail for its menus. Parts of it are useful on other things. It's on Github somewhere. On Thu, Feb 25, 2021, 11:09 PM Rick Thomas <rick.tho...@pobox.com> wrote: > I installed the most recent Bullseye image [1] on my Pi4B (4GB) a few days > ago. It's happily running on the table next to me right now. > > Here's what I found: > > It loads and boots just as expected. Apt and tasksel work and I was able > to install all the utilities I need to make it useful on my network. > > However, I noticed a couple of things that I should have expected, but > nevertheless caused me some confusion at first: > 1) The default timezone is set to UTC. I had to manually set it to > account for the fact that I live on the US West Coast. > 2) When I tried to use aptitude, it complained about not having "locale" > info. I would have expected default locale to be set to something like "C" > that would avoid the error messages, even if some/most users would want to > re-set it to their own preferences, later on. > > It would be nice if there was a README describing these quirks (and any > others I've missed), and how to deal with them after the first boot. Even > better would be if there was a script that automatically ran on the first > boot that asked a bunch of questions and made the appropriate > customizations automatically. I'd be willing to write such a script if > someone else would first write the README so I knew exactly what the script > needed to do. > > Great work! Looking forward to the next iteration. > > Enjoy! > Rick > > > [1] "2021.02.10 11 (Bullseye) 4" > https://raspi.debian.net/tested-images/ > >