Skip to content

set up locale keyboard ? #1177

Answered by Itxaka
poblin-orange asked this question in Q&A
Mar 22, 2023 · 3 comments · 7 replies
Discussion options

You must be logged in to vote

Bonjour!

If you are using a systemd-based derivative (All flavors except alpine) you should be able to use the systemd-firstboot key to set the keyboard https://github.com/mudler/yip#stagesstageidstepnsystemd_firstboot`

so for example you would set this in your config to have it run and set the keyboard:

stages:
  initramfs:
    - name: "Setup locale"
      systemd_firstboot:
        keymap: fr

For Ubuntu systems which dont have the systemd-firstboot service, a simple loadkeys in the boot stage to load the keymap should work:

stages:
  boot:
    - name:
      commands:
        - loadkeys fr

Replies: 3 comments 7 replies

Comment options

You must be logged in to vote
2 replies
@Itxaka
Comment options

@poblin-orange
Comment options

Answer selected by poblin-orange
Comment options

You must be logged in to vote
1 reply
@Itxaka
Comment options

Comment options

You must be logged in to vote
4 replies
@Itxaka
Comment options

@Itxaka
Comment options

@Itxaka
Comment options

@poblin-orange
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants