From b633b63f64fafeeb29b2a0fbfa50d03464fa7058 Mon Sep 17 00:00:00 2001 From: Konrad Bucheli Date: Tue, 25 Mar 2025 15:36:00 +0100 Subject: [PATCH] use variable to select system disk --- admin-guide/configuration/files/partitioning.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/admin-guide/configuration/files/partitioning.md b/admin-guide/configuration/files/partitioning.md index ea117815..30e8fcbd 100644 --- a/admin-guide/configuration/files/partitioning.md +++ b/admin-guide/configuration/files/partitioning.md @@ -54,7 +54,7 @@ To add a new volume to the system disk, you need to address the [lvm Puppet modu lvm::volume_groups: vg_root: physical_volumes: - - /dev/nvme0n1p3 + - "%{lvm_vg_vg_root_pvs}" logical_volumes: lv_data: size: 3TB @@ -63,8 +63,6 @@ lvm::volume_groups: size_is_minsize: true ``` -Please note that you need also to list the partition on which `vg_root` is located. - The same you can do to add partitions outside of the system disk, but here you need to define the full LVM volume group: ```yaml @@ -93,6 +91,3 @@ lvm::volume_groups: ``` but for the `lvm` Puppet module to accept this you need to set `followsymlinks: true`. - - -