Remove 4MB from calculated LVB size

This commit is contained in:
Chris Hammer 2025-06-05 10:26:33 -04:00
parent 8e057342da
commit 78902c1371

View File

@ -20,7 +20,7 @@
vars: vars:
shrink_lv_devices: shrink_lv_devices:
- device: "{{ bigboot_data[inventory_hostname]['bigboot_adjacent_lvm_device'] }}" - device: "{{ bigboot_data[inventory_hostname]['bigboot_adjacent_lvm_device'] }}"
size: "{{ bigboot_data[inventory_hostname]['bigboot_lv_shrink_size'] | int }}" size: "{{ bigboot_data[inventory_hostname]['bigboot_lv_shrink_size'] | int - 4194304 }}"
when: when:
- bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | default(false) | bool - bigboot_data[inventory_hostname]['bigboot_execute_shrink_lv'] | default(false) | bool