Subtract an additional PE over the one we're already subtracting - 2 PE total

This commit is contained in:
Chris Hammer 2025-06-24 12:10:24 -04:00
parent 5c3987bfa7
commit 147c63ba89

View File

@ -110,7 +110,7 @@
- name: Subtract one additional PE for shrinking
ansible.builtin.set_fact:
bigboot_lv_shrink_size: "{{ bigboot_lv_shrink_size | int - bigboot_lv_vg_pe_size | int }}"
bigboot_lv_shrink_size: "{{ bigboot_lv_shrink_size | int - (bigboot_lv_vg_pe_size | int * 2) }}"
when:
- bigboot_size_target_fallback | human_to_bytes < bigboot_size_target | human_to_bytes