parent |
---|
Configuration |
You can configure mountPoint
in one of two ways:
-
Structured Format: Use
idType
,options
, andpath
fields for a more detailed configuration.mountPoint: path: /boot/efi options: umask=0077 idType: part-uuid
-
Shorthand Path Format: Provide the mount path directly as a string when only
path
is required.mountPoint: /boot/efi
In this shorthand format, only the
path
is specified, and default values will be applied to any optional fields.
Default: part-uuid
The partition ID type that should be used to recognize the partition on the disk.
Supported options:
-
uuid
: The filesystem's partition UUID. -
part-uuid
: The partition UUID specified in the partition table. -
part-label
: The partition label specified in the partition table.
Example:
storage:
disks:
- partitionTableType: gpt
partitions:
- id: esp
type: esp
size: 8M
- id: rootfs
size: 2G
label: root
- id: var
size: 2G
label: var
bootType: efi
filesystems:
- deviceId: esp
type: fat32
mountPoint:
path: /boot/efi
options: umask=0077
- deviceId: rootfs
type: ext4
mountPoint:
path: /
idType: part-label
- deviceId: var
type: ext4
mountPoint:
path: /var
idType: part-label
os:
bootloader:
resetType: hard-reset
The additional options used when mounting the file system.
These options are in the same format as
mount's
-o
option or the fs_mntops
field of the
fstab file.
Required.
The absolute path of where the partition should be mounted.
The mounts will be sorted to ensure that parent directories are mounted before child
directories.
For example, /boot
will be mounted before /boot/efi
.