aboutsummaryrefslogtreecommitdiff
path: root/src/property/installer.lisp
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2021-05-04 11:35:38 -0700
committerSean Whitton <spwhitton@spwhitton.name>2021-05-06 12:23:51 -0700
commit2fcbe645d1d11a871cd152aa2ac86f287631ff65 (patch)
tree870589b156e17abe91f09563d60f837336ab9c92 /src/property/installer.lisp
parent9c66f8a7b5863ac19cc3827ed174c1f960361a4b (diff)
downloadconsfigurator-2fcbe645d1d11a871cd152aa2ac86f287631ff65.tar.gz
implement populating /etc/crypttab for LUKS containers
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
Diffstat (limited to 'src/property/installer.lisp')
-rw-r--r--src/property/installer.lisp18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/property/installer.lisp b/src/property/installer.lisp
index 80229a6..04bccfb 100644
--- a/src/property/installer.lisp
+++ b/src/property/installer.lisp
@@ -50,14 +50,14 @@ Also update the fstab and crypttab, and try to install a bootloader."
(debianlike
(file:lacks-lines "/etc/fstab"
"# UNCONFIGURED FSTAB FOR BASE SYSTEM")
- ;; This will overwrite any custom mount options, etc., with
- ;; values from VOLUMES. Possibly it would be better to use a
- ;; property which only updates the fs-spec field. However,
- ;; given that VOLUMES ultimately comes from the volumes the
- ;; user has declared for the host, it is unlikely there are
- ;; other properties setting mount options etc. which are in
- ;; conflict with VOLUMES.
- (fstab:entries-for-opened-volumes)))))
- ;; TODO Update /etc/crypttab
+ ;; These will overwrite any custom mount options, etc., with
+ ;; values from VOLUMES. Possibly it would be better to use
+ ;; properties which only update the fs-spec/source fields.
+ ;; However, given that VOLUMES ultimately comes from the
+ ;; volumes the user has declared for the host, it is unlikely
+ ;; there are other properties setting mount options etc. which
+ ;; are in conflict with VOLUMES.
+ (fstab:entries-for-opened-volumes)
+ (crypttab:entries-for-opened-volumes)))))
;; TODO Install bootloader
)))