From 8ccdca67a086f98d36d8c3f7208fe560bf80bd71 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Antoine=20Beaupr=C3=A9?= <anarcat@debian.org>
Date: Wed, 9 Dec 2020 12:10:50 -0500
Subject: [PATCH] the name created by the installer is different

This silences a warning when rebuilding the initrd.
---
 howto/new-machine-cymru.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/howto/new-machine-cymru.md b/howto/new-machine-cymru.md
index e658c78c..4c473924 100644
--- a/howto/new-machine-cymru.md
+++ b/howto/new-machine-cymru.md
@@ -225,7 +225,7 @@ point it becomes a bit too complicated.
 If you need to do something post-install, this should bring you a
 working shell in the `chroot`:
 
-    cryptsetup luksOpen /dev/sda3 crypt_sda3 &&
+    cryptsetup luksOpen /dev/sda3 crypt_dev_sda3 &&
     vgchange -a y &&
     mount /dev/mapper/vg_ganeti-root /mnt &&
     for fs in /run /sys /dev /proc; do mount -o bind $fs /mnt$fs; done &&
@@ -243,7 +243,7 @@ And this will cleanup the rest:
     for fs in /dev /sys /run /proc; do umount /mnt$fs; done &&
     umount /mnt &&
     vgchange -a n &&
-    cryptsetup luksClose crypt_sda3
+    cryptsetup luksClose crypt_dev_sda3
 
 ### IP address
 
-- 
GitLab