The only difference between BIOS and UEFI is the addition of a line for adding /boot/efi. Remove duplicated code. Fix strange indentation in the rendered template.
Fixes #33934 - templates: custom name for vgs and lvs
By adding part_vgname, you can now customize the name of the volume group. By adding part_swap_name, part_root_name, part_home_name, you can also customize the names of the logical volumes.
Related issues
Bug #33930: Templates - vgname is hardcoded to vg_sda
Fixes #33930 - templates: set vgname based on dev
It's rather unfortunate to hardcode the name vg_sda when you're
actually partitioning some device other than sda.
Fixes #33931 - templates: add /boot/efi on UEFI
The only difference between BIOS and UEFI is the addition of a line
for adding /boot/efi. Remove duplicated code. Fix strange
indentation in the rendered template.
Fixes #33934 - templates: custom name for vgs and lvs
By adding part_vgname, you can now customize the name of the volume
group. By adding part_swap_name, part_root_name, part_home_name, you can
also customize the names of the logical volumes.