2023-09-01 15:42:26 -04:00
|
|
|
# GRUB configuration
|
|
|
|
# {{ ansible_managed }}
|
|
|
|
GRUB_DEFAULT=0
|
|
|
|
GRUB_TIMEOUT=5
|
2023-09-01 15:42:29 -04:00
|
|
|
GRUB_DISTRIBUTOR="PVC Parallel Virtual Cluster - Debian"
|
2023-09-05 16:35:41 -04:00
|
|
|
{% if debian_version|int >= 12 %}
|
|
|
|
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 iommu=pt {{ grub_cmdline }}"
|
|
|
|
{% elif debian_version|int >= 11 %}
|
2023-09-01 15:42:29 -04:00
|
|
|
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 {{ grub_cmdline }}"
|
|
|
|
{% else %}
|
2023-09-01 15:42:26 -04:00
|
|
|
GRUB_CMDLINE_LINUX="{{ grub_cmdline }}"
|
2023-09-01 15:42:29 -04:00
|
|
|
{% endif %}
|
2023-09-01 15:42:26 -04:00
|
|
|
GRUB_TERMINAL_INPUT="console serial"
|
|
|
|
GRUB_TERMINAL_OUTPUT="gfxterm serial"
|
|
|
|
GRUB_SERIAL_COMMAND="{{ grub_serial }}"
|
2023-09-01 15:42:26 -04:00
|
|
|
GRUB_THEME="/usr/share/grub-pvc/theme.txt"
|