Ensure CPU tuning is only applied on Debian 11+
This commit is contained in:
@ -3,7 +3,11 @@
|
||||
GRUB_DEFAULT=0
|
||||
GRUB_TIMEOUT=5
|
||||
GRUB_DISTRIBUTOR="PVC Parallel Virtual Cluster - Debian"
|
||||
{% if ansible_distribution_major_version|int >= 11 %}
|
||||
GRUB_CMDLINE_LINUX="systemd.unified_cgroup_hierarchy=1 {{ grub_cmdline }}"
|
||||
{% else %}
|
||||
GRUB_CMDLINE_LINUX="{{ grub_cmdline }}"
|
||||
{% endif %}
|
||||
GRUB_TERMINAL_INPUT="console serial"
|
||||
GRUB_TERMINAL_OUTPUT="gfxterm serial"
|
||||
GRUB_SERIAL_COMMAND="{{ grub_serial }}"
|
||||
|
Reference in New Issue
Block a user