parent |
---|
Configuration |
Contains the options for provisioning disks, partitions, and file systems.
Example:
storage:
bootType: efi
disks:
- partitionTableType: gpt
maxSize: 4G
partitions:
- id: esp
type: esp
size: 8M
- id: rootfs
size: grow
filesystems:
- deviceId: esp
type: fat32
mountPoint:
path: /boot/efi
options: umask=0077
- deviceId: rootfs
type: ext4
mountPoint: /
os:
bootloader:
resetType: hard-reset
Specifies the boot system that the image supports.
Supported options:
-
legacy
: Support booting from BIOS firmware.When this option is specified, the partition layout must contain a partition with the
bios-grub
flag. -
efi
: Support booting from UEFI firmware.When this option is specified, the partition layout must contain a partition with the
esp
flag.
Example:
storage:
disks:
- partitionTableType: gpt
partitions:
- id: boot
type: bios-grub
size: 8M
- id: rootfs
size: 4G
bootType: legacy
filesystems:
- deviceId: rootfs
type: ext4
mountPoint: /
os:
bootloader:
resetType: hard-reset
disks [disk[]]
Contains the options for provisioning disks and their partitions.
Note: While disks is a list, only 1 disk is supported at the moment. Support for multiple disks may (or may not) be added in the future.
verity [verity[]]
Configure verity block devices.
filesystems [filesystem[]]
Specifies the mount options of the partitions.
Specifies that the partition UUIDs and filesystem UUIDs should be reset.
Value is optional.
This value cannot be specified if storage is specified (since customizing the partition layout resets all the UUIDs anyway).
If this value is specified, then os.bootloader.resetType must also be specified.
Supported options:
reset-all
: Resets the partition UUIDs and filesystem UUIDs for all the partitions.
Example:
storage:
resetPartitionsUuidsType: reset-all
os:
bootloader:
resetType: hard-reset