default target and keyboard ignored
I have this Containerfile to build a custom image iso derived from silverblue :
FROM quay.io/fedora-ostree-desktops/silverblue:42
RUN systemctl enable sshd
RUN bootc container lint
LABEL containers.bootc 1
LABEL ostree.bootable 1
RUN systemctl set-default graphical.target
RUN ostree container commit
And this config.toml for kickstart
[customizations.installer.kickstart]
contents = """
text --non-interactive
zerombr
clearpart --all --initlabel
firstboot --enable
lang fr_FR
keyboard fr
autopart --encrypted --passphrase=mypassphrase
timezone Europe/Paris --utc
"""
I build iso with this command :
sudo podman run --rm -it --privileged --pull=newer \
--security-opt label=type:unconfined_t \
-v ./output:/output \
-v /var/lib/containers/storage:/var/lib/containers/storage \
-v ./config.toml:/config.toml:ro \
quay.io/centos-bootc/bootc-image-builder:latest \
--type iso \
--chown 1000:1000 \
localhost/testosbuild
localhost/testosbuild is my image from Containerfile.
I have 2 problems :
- the default keyboard layout is still US despite kickstart
langandkeyboard - the default target (graphical) seems ignored, the first boot is text and I have to re-run
systemctl set-default graphical.targetand reboot
I'm also not able to see changes intended by using the kickstart file. Tried adding users to the kickstart file but not seeing them on boot.
lang fr_FR
keyboard fr
This is https://bugzilla.redhat.com/show_bug.cgi?id=1890085
the default target (graphical) seems ignored, the first boot is text and I have to re-run systemctl set-default graphical.target and reboot
Yeah that's an Anaconda bug that you should be able to work around by setting the default target in the kickstart. Not sure if there's a tracker.
Yeah that's an Anaconda bug that you should be able to work around by setting the default target in the kickstart. Not sure if there's a tracker.
xconfig --startonboot seems to fix. I thought it was X11 specific. Kickstart doc still says "X Window System"
For locale, I tried bootloader --append="vconsole.keymap=fr-oss" (I have that in my own /etc/vconsole.conf).
Plymouth now displays "fr" next to the keyboard icon but..... it's still qwerty....
So it's possible to have different layout that the one displayed on plymouth...
I opened upstream bug : https://bugzilla.redhat.com/show_bug.cgi?id=2418066