From 3b783432195496e8b54d077dd1af5978e175aa2f Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 3 Apr 2022 09:48:50 +0200 Subject: [PATCH] kunsi-p14s: add zfs pool definition --- nodes/kunsi-p14s.py | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/nodes/kunsi-p14s.py b/nodes/kunsi-p14s.py index 702b410..47ed070 100644 --- a/nodes/kunsi-p14s.py +++ b/nodes/kunsi-p14s.py @@ -147,6 +147,18 @@ nodes['kunsi-p14s'] = { }, }, 'zfs': { + 'pools': { + 'zroot': { + 'when_creating': { + 'config': [{ + 'devices': [ + '/dev/disk/by-id/nvme-UMIS_RPETJ1T24MGE2QDQ_SS0L25218X3RC1BG1182-part2', + ], + }], + 'ashift': 12, + }, + }, + }, 'datasets': { # this is not a complete list, but we can't create that # structure using bundlewrap anyway, so there's no point