You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Launchpad user Floris(bos) wrote on 2021-11-19T13:58:13.521039+00:00
It would be nice if generic support to set a keyboard layout was added to cloudinit.
It seems one can currently do set keyboard layout when using the Ubuntu installer, with autoinstall.
But when using just cloudinit with ready made images (e.g. with the Ubuntu server images for the Pi), there does not seem to be an option for it.
As an alternative, I tried writing /etc/default/keyboard with write_files manually, and runcmd'ing "dpkg-reconfigure -f noninteractive keyboard-configuration" but that leaves to be desired.
Since it is run pretty late in the boot process, the new keyboard layout does not take effect until first reboot.
And it obviously will only work with Debian based distributions.
Generic commands to set a keyboard layout (that could also work with other Linux distributions in the future) would be nicer.
The text was updated successfully, but these errors were encountered:
Launchpad user Brett Holman(holmanb) wrote on 2022-02-15T21:54:29.676678+00:00
This bug is believed to be fixed in cloud-init in version 22.1. If this is still a problem for you, please make a comment and set the state back to New
This bug was originally filed in Launchpad as LP: #1951593
Launchpad details
Launchpad user Floris(bos) wrote on 2021-11-19T13:58:13.521039+00:00
It would be nice if generic support to set a keyboard layout was added to cloudinit.
It seems one can currently do set keyboard layout when using the Ubuntu installer, with autoinstall.
But when using just cloudinit with ready made images (e.g. with the Ubuntu server images for the Pi), there does not seem to be an option for it.
As an alternative, I tried writing /etc/default/keyboard with write_files manually, and runcmd'ing "dpkg-reconfigure -f noninteractive keyboard-configuration" but that leaves to be desired.
Since it is run pretty late in the boot process, the new keyboard layout does not take effect until first reboot.
And it obviously will only work with Debian based distributions.
Generic commands to set a keyboard layout (that could also work with other Linux distributions in the future) would be nicer.
The text was updated successfully, but these errors were encountered: