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",
"number": 5,
"resize": true,
"sizeMiB": 0
}
@ -45,7 +44,7 @@
"wipeFilesystem": true
},
{
"device": "/dev/mapper/data",
"device": "/dev/disk/by-partlabel/data",
"format": "btrfs",
"label": "data",
"mountOptions": [

View file

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