Deploying Ubuntu with a real-time kernel using MAAS
[note] The RT kernel is currently in Beta. General availability is coming soon. [/note]
The RT kernel isn't directly integrated into MAAS. Instead, cloud-init is used to first deploy a generic kernel. Then cloud-init installs the RT kernel and reboots the machine to enable it. Be aware that after MAAS marks the machine as DEPLOYED, there'll be a delay while cloud-init completes and the machine reboots.
[note] Offline installation of the RT kernel is not supported currently. [/note]
Perform these steps in the MAAS UI:
Enlist and commission the host: Do this as you normally would.
Initiate deployment: Select the host and click
Choose OS and release: Opt for
Ubuntu 22.04 LTS "Jammy Jellyfish".
Configure cloud-init: Select
Cloud-init user-data and use the following template. Replace
YOUR_TOKEN with your valid token.
power_state: mode: reboot ubuntu_advantage: token: YOUR_TOKEN enable: - esm-infra - realtime-kernel ```
Start deployment: Click
Start deployment for machine.
After deployment, execute these commands on the host to confirm RT kernel activation:
Check Pro status
You should see
realtime-kernel as enabled.
Confirm kernel version
Your machine should now be up and running with an RT kernel.