Skip to content

Latest commit

 

History

History
105 lines (75 loc) · 2 KB

File metadata and controls

105 lines (75 loc) · 2 KB
parent
Configuration

mountPoint type

You can configure mountPoint in one of two ways:

  1. Structured Format: Use idType, options, and path fields for a more detailed configuration.

    mountPoint:
      path: /boot/efi
      options: umask=0077
      idType: part-uuid
  2. 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.

idType [string]

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

options [string]

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.

path [string]

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.