summaryrefslogtreecommitdiffstats
path: root/debian/tests/cryptroot-lvm.d/bottom
diff options
context:
space:
mode:
Diffstat (limited to 'debian/tests/cryptroot-lvm.d/bottom')
-rw-r--r--debian/tests/cryptroot-lvm.d/bottom9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/tests/cryptroot-lvm.d/bottom b/debian/tests/cryptroot-lvm.d/bottom
new file mode 100644
index 0000000..8bf492f
--- /dev/null
+++ b/debian/tests/cryptroot-lvm.d/bottom
@@ -0,0 +1,9 @@
+umount "$ROOT/boot"
+umount "$ROOT"
+
+swapoff /dev/cryptvg/swap
+lvm vgchange -an "cryptvg"
+
+cryptsetup close "vda3_crypt"
+
+# vim: set filetype=sh :