Skip to main content

ENV_BLOCK_ROOT

Constant ENV_BLOCK_ROOT 

Source
pub const ENV_BLOCK_ROOT: &str = "MSB_BLOCK_ROOT";
Expand description

Environment variable specifying how agentd assembles the root filesystem.

Format: comma-separated key=value pairs, semicolons for multi-value fields.

Variants:

  • kind=disk-image,device=/dev/vda[,fstype=ext4]
  • kind=oci-layered,lowers=/dev/vdb;/dev/vdc;/dev/vdd,lower_fstype=erofs,upper=/dev/vde,upper_fstype=ext4
  • kind=oci-flat,lower=/dev/vdb,lower_fstype=erofs,upper=/dev/vdc,upper_fstype=ext4

Legacy format (/dev/vda[,fstype=ext4]) is accepted and treated as kind=disk-image.