pvc-ansible/roles/base/templates/etc/default/grub.j2

17 lines
582 B
Plaintext
Raw Permalink Normal View History

2023-09-01 15:42:26 -04:00
# GRUB configuration
# {{ ansible_managed }}
GRUB_DEFAULT=0
GRUB_TIMEOUT=5
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 %}
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 {{ grub_cmdline }}"
{% else %}
2023-09-01 15:42:26 -04:00
GRUB_CMDLINE_LINUX="{{ grub_cmdline }}"
{% endif %}
2023-09-01 15:42:26 -04:00
GRUB_TERMINAL_INPUT="console serial"
GRUB_TERMINAL_OUTPUT="gfxterm serial"
GRUB_SERIAL_COMMAND="{{ grub_serial }}"
GRUB_THEME="/usr/share/grub-pvc/theme.txt"