Restore Debian ESP mount layout

This commit is contained in:
2025-12-28 02:24:33 +01:00
parent ef945d925a
commit 232ab244ca
2 changed files with 11 additions and 2 deletions

View File

@@ -5,7 +5,11 @@
vars:
configuration_use_efibootmgr: "{{ is_rhel | default(false) }}"
configuration_efi_dir: >-
{{ "/boot/efi" if (is_debian | default(false) or is_rhel | default(false)) else "/boot" }}
{{
"/boot/efi"
if (is_rhel | default(false)) or (os | lower in ["ubuntu", "ubuntu-lts"])
else "/boot"
}}
configuration_bootloader_id: >-
{{ "ubuntu" if os | lower in ["ubuntu", "ubuntu-lts"] else os }}
configuration_efi_vendor: >-