Errors or typos? Topics missing? Hard to read? Let us know.
This guide walks you through the steps to deploy an Ubuntu machine with a FIPS-compliant kernel. The FIPS kernel comes with all Ubuntu Pro subscriptions for Ubuntu 22.04 LTS. There is also a tutorial on how to get access to the Ubuntu FIPS-compliant kernel.
The kernel FIPS kernel isn’t directly integrated into MAAS. Instead, cloud-init is used to first deploy a generic kernel. Then cloud-init installs the FIPS 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 kernel FIPS-compliant 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
>= 24.1 #cloud-config
ubuntu_pro:
token: <ubuntu_pro_token>
enable:
- fips-updates
2. `cloud-init` < 24.1
#cloud-config
package_update: true
package_upgrade: true
runcmd:
- pro attach <ubuntu_pro_token>
- yes | pro enable fips-updates
Start deployment for machine
.After deployment, execute these commands on the host to confirm RT kernel activation:
Run cat /proc/sys/crypto/fips_enabled
on the machine. A return value of 1 indicates FIPS mode is active.
Check the output of sudo pro status
to confirm that fips-preview
and fips-updates
are enabled.
Your machine should now be up and running with a FIPS-compliant kernel.