Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add docs examples for "LUKS volumes with discard option & perf-no_read_workqueue/perf-no_write_workqueue" #512

Open
travier opened this issue Mar 14, 2023 · 2 comments

Comments

@travier
Copy link
Member Author

travier commented Mar 14, 2023

We should also probably split the LUKS Storage configuration part into its own page.

@feidens
Copy link

feidens commented Apr 27, 2023

For the meantime if one needs a full (butane yaml) example see below. If I can help writing the documentation in some form then let me know.

variant: fcos
version: 1.5.0
passwd:
  users:
    - name: core
      ssh_authorized_keys_local:
        - your_key_file.pub
storage:
  disks:
   - device: /dev/vda
     partitions:
       - label: root
         number: 4
         # 0 means to use all available space
         size_mib: 0
         resize: true
  luks:
    - name: root
      label: luks-root
      device: /dev/disk/by-partlabel/root
      clevis:
        tpm2: true
      # key_file:
      #  local: luks.key
      wipe_volume: true
      discard: true
      options:
        - --pbkdf=argon2id
      open_options:
        - --perf-no_read_workqueue
        - --perf-no_write_workqueue
  filesystems:
    - device: /dev/mapper/root
      format: xfs
      wipe_filesystem: true
      label: root

FYI: Without the storage.disks.partitions part the Growth step failed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants