Allow to boot the default entry.

This commit is contained in:
Andreas B. Mundt 2023-07-23 17:06:08 +02:00
parent adc9aa8489
commit c39ca21a47

View file

@ -164,6 +164,14 @@
password_pbkdf2 root {{ grub_pwd }}
notify: update grub
- name: Allow booting default entry
lineinfile:
dest: /etc/grub.d/10_linux
line: CLASS="${CLASS} --unrestricted"
insertafter: '^CLASS=.*'
firstmatch: true
notify: update grub
- name: grub timeout
lineinfile:
dest: /etc/default/grub