From d99a784e3a1f1094b65baad28a28e3b4e1059266 Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Sun, 3 Apr 2022 08:23:42 +0200 Subject: [PATCH] htz-hel.backup-kunsi: use /dev/disk/by-id for encrypted devices --- nodes/htz-hel/backup-kunsi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes/htz-hel/backup-kunsi.py b/nodes/htz-hel/backup-kunsi.py index 71d65c8..be66592 100644 --- a/nodes/htz-hel/backup-kunsi.py +++ b/nodes/htz-hel/backup-kunsi.py @@ -30,7 +30,7 @@ nodes['htz-hel.backup-kunsi'] = { }, 'backup-server': { 'encrypted-devices': { - '/dev/sdb1': bwpass.password('bw/backup-kunsi/encryption-passphrase'), + '/dev/disk/by-id/scsi-0QEMU_QEMU_HARDDISK_drive-scsi1-part1': bwpass.password('bw/backup-kunsi/encryption-passphrase'), }, 'clients': { 'kunsi-t470': {