aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-05-03 16:53:20 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-05-06 12:23:51 -0700
commit12c1772452539f9f24d5bec01f53580dc7166972 (patch)
treef706585d64c72e4c262b9cc43b3eb15c9440ef62
parent5a1d9a313635855fa8080903a0712d7e4eeefeb4 (diff)
downloadconsfigurator-12c1772452539f9f24d5bec01f53580dc7166972.tar.gz
add DISK:CRYPTTAB-OPTIONS with default
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--src/package.lisp1
-rw-r--r--src/property/disk.lisp5
2 files changed, 5 insertions, 1 deletions
diff --git a/src/package.lisp b/src/package.lisp
index d95506a..de9eb85 100644
--- a/src/package.lisp
+++ b/src/package.lisp
@@ -405,6 +405,7 @@
#:luks-container
#:opened-luks-container
+ #:crypttab-options
#:linux-swap
#:with-these-open-volumes
diff --git a/src/property/disk.lisp b/src/property/disk.lisp
index 1f33975..c3eee36 100644
--- a/src/property/disk.lisp
+++ b/src/property/disk.lisp
@@ -510,7 +510,10 @@ possible. Ignored if VOLUME-SIZE is also bound."))
:documentation
"The value of the --type parameter to cryptsetup luksFormat.
Note that GRUB2 older than 2.06 cannot open the default LUKS2 format, so
-specify \"luks1\" if this is needed.")))
+specify \"luks1\" if this is needed.")
+ (crypttab-options
+ :type list :initform '("luks" "discard" "initramfs")
+ :initarg :crypttab-options :accessor crypttab-options)))
(defclass-opened-volume opened-luks-container (luks-container))