Errors or typos? Topics missing? Hard to read? Let us know.
This page walks you through the steps to deploy an Ubuntu machine with a real-time (RT) kernel. The RT kernel comes with all Ubuntu Pro subscriptions for Ubuntu 22.04 LTS.
The RT kernel is currently in Beta. General availability is coming soon.
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 will be a delay while cloud-init completes and the machine reboots.
Offline installation of the RT kernel is not supported currently.
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 Deploy
.
Choose OS and release: Opt for Ubuntu
and Ubuntu 22.04 LTS "Jammy Jellyfish"
.
Configure cloud-init: Select Cloud-init user-data
and use the following templates. Replace <ubuntu_pro_token>
with your valid token.
cloud-init
>= 23.4 #cloud-config
ubuntu_advantage:
token: <ubuntu_pro_token>
enable:
- realtime-kernel
2. `cloud-init` < 23.4
#cloud-config
package_update: true
package_upgrade: true
runcmd:
- pro attach <ubuntu_pro_token>
- yes | pro enable realtime-kernel
Start deployment for machine
.After deployment, execute these commands on the host to confirm RT kernel activation:
sudo pro status
You should see `realtime-kernel` as enabled.
uname -a
Your machine should now be up and running with an RT kernel.