aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2023-12-03 17:48:32 +0000
committerSean Whitton <spwhitton@spwhitton.name>2023-12-03 17:48:32 +0000
commit2c7ecbe469c38c731264634e3832f4a41937c171 (patch)
treef27530fc63dd67cc50aff02a3d8166b319e9f5b3
parentb9bf95a87585f6434f61b86c68fe6bc629e56771 (diff)
downloadconsfigurator-2c7ecbe469c38c731264634e3832f4a41937c171.tar.gz
DISK:HOST-LOGICAL-VOLUMES-EXIST: fix adding /etc/fstab entries
Signed-off-by: Sean Whitton <spwhitton@spwhitton.name>
-rw-r--r--doc/news.rst7
-rw-r--r--src/property/disk.lisp2
2 files changed, 8 insertions, 1 deletions
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))