This commit is contained in:
Maciej Lebiest 2024-12-14 19:40:13 +01:00
parent fbab4c60d7
commit e54e83f74f
2 changed files with 4 additions and 5 deletions

View file

@ -25,7 +25,6 @@
}, },
{ {
"label": "data", "label": "data",
"number": 5,
"resize": true, "resize": true,
"sizeMiB": 0 "sizeMiB": 0
} }
@ -45,7 +44,7 @@
"wipeFilesystem": true "wipeFilesystem": true
}, },
{ {
"device": "/dev/mapper/data", "device": "/dev/disk/by-partlabel/data",
"format": "btrfs", "format": "btrfs",
"label": "data", "label": "data",
"mountOptions": [ "mountOptions": [

View file

@ -14,7 +14,7 @@ storage:
size_mib: 51200 # 50GiB size_mib: 51200 # 50GiB
resize: true resize: true
- label: data - label: data
number: 5 number: 0 # auto
# 0 means to use all available space # 0 means to use all available space
size_mib: 0 size_mib: 0
resize: true resize: true
@ -27,7 +27,7 @@ storage:
- compress-force=zstd:1 - compress-force=zstd:1
wipe_filesystem: true wipe_filesystem: true
label: root label: root
- device: /dev/mapper/data - device: /dev/disk/by-partlabel/data
format: btrfs format: btrfs
mount_options: mount_options:
- noatime - noatime
@ -40,7 +40,7 @@ storage:
device: /dev/disk/by-partlabel/root device: /dev/disk/by-partlabel/root
discard: true discard: true
key_file: key_file:
inline: changeme inline: changeme # remember to also update /etc/luks/root file
wipe_volume: true wipe_volume: true
systemd: systemd:
units: units: