From 2c7ecbe469c38c731264634e3832f4a41937c171 Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Sun, 3 Dec 2023 17:48:32 +0000 Subject: DISK:HOST-LOGICAL-VOLUMES-EXIST: fix adding /etc/fstab entries Signed-off-by: Sean Whitton --- doc/news.rst | 7 +++++++ src/property/disk.lisp | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/doc/news.rst b/doc/news.rst index a9ead77..fe16294 100644 --- a/doc/news.rst +++ b/doc/news.rst @@ -23,6 +23,13 @@ In summary, you should always be able to upgrade to a release which only increments ``patch``, but if either of the other two components have changed, you should review this document and see if your consfig needs updating. +1.3.2 (unreleased) +------------------ + +- Fix a bug in DISK:HOST-LOGICAL-VOLUMES-EXIST that meant it would try to add + ``/etc/fstab`` entries for each logical volume it created rather than for + each filesystem it tries to mount. + 1.3.1 (2023-06-12) ------------------ diff --git a/src/property/disk.lisp b/src/property/disk.lisp index 08d1dcf..e1b307c 100644 --- a/src/property/disk.lisp +++ b/src/property/disk.lisp @@ -534,7 +534,7 @@ We do not specify what logical volumes it contains.")) (if to-create (prog2 (ignoring-hostattrs - (consfigurator.property.fstab:has-entries-for-volumes to-create)) + (consfigurator.property.fstab:has-entries-for-volumes to-mount)) (create-volumes-and-contents to-create) (dolist (volume to-create) (open-volume volume nil)) -- cgit v1.2.3