From f9605f0d7504e6a237afa48b1100c0076e5c52ed Mon Sep 17 00:00:00 2001 From: Chris Hammer Date: Wed, 13 Mar 2024 19:32:43 -0400 Subject: [PATCH] trim the vg --- roles/rear_backup/templates/local.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/rear_backup/templates/local.conf.j2 b/roles/rear_backup/templates/local.conf.j2 index 435c784..fade899 100644 --- a/roles/rear_backup/templates/local.conf.j2 +++ b/roles/rear_backup/templates/local.conf.j2 @@ -14,7 +14,7 @@ GRUB_RESCUE=1 KERNEL_CMDLINE="unattended" USER_INPUT_TIMEOUT=1 USER_INPUT_DISK_LAYOUT_PROCEED_RECOVERY=yes -ONLY_INCLUDE_VG=( "system" {% if bigboot_lv_vg_name is defined %}"{{ bigboot_lv_vg_name }}" {% endif -%} ) +ONLY_INCLUDE_VG=( "system" {% if bigboot_lv_vg_name is defined %}"{{ bigboot_lv_vg_name | trim }}" {% endif -%} ) {% if bigboot_lv_info.mount != '/lv1' %} BACKUP_PROG_EXCLUDE=( "${BACKUP_PROG_EXCLUDE[@]}" '/applog' ) EXCLUDE_MOUNTPOINTS=( "${EXCLUDE_MOUNTPOINTS[@]" '/applog' )