cloud-init deletes keyboard module, enables keyboard module in config
package() stage deletes keyboard
module, but a recent change to 02-disable-irrelevant-modules.patch
switched the test in the config template to not is_rhel
, so the keyboard module ends up being listed in the config. Booting an AWS instance:
Cloud-init v. 23.1.2 running 'modules:config' at Wed, 02 Aug 2023 10:17:36 +0000. Up 32.50 seconds.
modules.py[WARNING]: Could not find module named cc_keyboard (searched ['cc_keyboard', 'cloudinit.config.cc_keyboard'])