From 647696065b9bb03808cd208570c7eb646ef70027 Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Wed, 13 Mar 2024 20:20:29 -0400 Subject: [PATCH] template changes --- roles/rear_backup/templates/local.conf.j2 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/roles/rear_backup/templates/local.conf.j2 b/roles/rear_backup/templates/local.conf.j2 index 40f5fe2..84d450e 100644 --- a/roles/rear_backup/templates/local.conf.j2 +++ b/roles/rear_backup/templates/local.conf.j2 @@ -14,7 +14,8 @@ GRUB_RESCUE=1 KERNEL_CMDLINE="unattended" USER_INPUT_TIMEOUT=1 USER_INPUT_DISK_LAYOUT_PROCEED_RECOVERY=yes -{% if bigboot_lv_vg_name is defined and bigboot_lv_vg_name == "system" %} +{% if bigboot_lv_vg_name is defined %} +{% if bigboot_lv_vg_name == "system" %} ONLY_INCLUDE_VG=( "system" ) {% else %} ONLY_INCLUDE_VG=( "system" {% if bigboot_lv_vg_name is defined %}"{{ bigboot_lv_vg_name | trim }}" {% endif -%} )