Customizing the Talos Linux immutable root file system.
Note: the way to install system extensions in the .machine.install
section of the machine configuration is now deprecated.
Starting with Talos v1.5.0, Talos supports generation of boot media with system extensions included, this removes the need to rebuild
the initramfs.xz
on the machine itself during the installation or upgrade.
There are two kinds of boot assets that Talos can generate:
installer
container images that can be used to install or upgrade Talos on a machine (installation happens when booted from ISO or PXE)containerd
plugin), it may be necessary to include the extension in
both initial boot assets and disk images/installer
, or just the installer
.
The process of generating boot assets with extensions included is described in the boot assets guide.
installer
image only.
installer
container image with NVIDIA extension included, push the image to a registry..machine.install.image
points to the custom installer
image.installer
container for a new version of Talos, push it to a registry, and perform upgrade
pointing to the custom installer
image.
installer
and use it to upgrade Talos in-place.
docker build
.
Sidero Labs maintains a repository of system extensions.
talosctl get extensions
to get a list of system extensions: