From 2fcbe645d1d11a871cd152aa2ac86f287631ff65 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Tue, 4 May 2021 11:35:38 -0700 Subject: implement populating /etc/crypttab for LUKS containers Signed-off-by: Sean Whitton --- src/property/installer.lisp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'src/property/installer.lisp') 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 ))) -- cgit v1.2.3