From e54e83f74fc5954c7db7fb8808fa19502b468cbd Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Sat, 14 Dec 2024 19:40:13 +0100 Subject: [PATCH] fixes --- k8s.json | 3 +-- src/k8s.yaml | 6 +++--- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/k8s.json b/k8s.json index f962107..9e8f9ee 100644 --- a/k8s.json +++ b/k8s.json @@ -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": [ diff --git a/src/k8s.yaml b/src/k8s.yaml index 4ad66a2..11ac813 100644 --- a/src/k8s.yaml +++ b/src/k8s.yaml @@ -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: