Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • ImageBuilder-Keyboard

    Posted on

    Hello,

    First of all, excuse me for posting this question here if it is not in the right place.

    I am currently using ImageBuilder (osbuild-composer) on my RHEL9.1 to create other RHEL9.1 iso images with 'Server with GUI' group through command line. As I am french, I want my images to be in french, so I write those lines in my blueprints :

    name = "server"
    description = "server gui"
    version = "0.0.1"
    modules = []
    distro = ""

    [[groups]]
    name = "Serveur avec GUI"

    [customizations]

    [customizations.locale]
    languages = ["fr_FR.UTF-8"]
    keyboard = "fr"
    xlayouts = "n/a"

    [customizations.timezone]
    timezone = "Europe/Paris"

    In my created image, I can see that the full system is in french and the timezone is fine. When I go on my ttys, the keyboard is effectively in french. However, my keyboard on the GUI is in english version (qwerty), instead of french version (azerty).

    I tried to display the configuration with localectl status and it show this :

    $ localectl
    System Local: LANG=fr_FR.UTF-8
    VC Keymap: fr
    X Layout: fr

    How can I set my GUI keyboard in french in my blueprint file? What is the appropriate line to write in the blueprints, as it is certainly not 'xlayouts = "fr"? x11-layouts= "fr" ?

    Thanks for you help !

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat