Skip to content

Feature: nvme ​

Description ​

Adds NVMe Command Line Interface (CLI) tooling and configures NVMe host identifiers.

What it does ​

Installs nvme-cli and cryptsetup. Provides a systemd service (nvme-hostid.service) that generates /etc/nvme/hostnqn and /etc/nvme/hostid on first boot — equivalent to what the nvme-cli Debian package postinst script normally does, allowing images to be built without running the package scripts.

Files ​

Files present in this feature and their purpose. See the feature file reference for the semantics of each file type.

FilePurpose
file.include.markers.yaml (ref)Maps files to test-coverage marker IDs.
info.yaml (ref)Declares type: element and included/excluded features.
pkg.include (ref)Installs: cryptsetup, nvme-cli.
file.include/etc/systemd/system/nvme-hostid.service (file.include)Generates /etc/nvme/hostnqn and /etc/nvme/hostid unique identifiers at first boot.

Includes:

  • multipath — multipath I/O support used with NVMe over Fabrics (NVMe-oF/TCP).