mirror of
https://github.com/pigmonkey/spark.git
synced 2026-01-23 02:24:09 +00:00
disable grub submenus
One or two less keystrokes when selecting alternate kernels.
This commit is contained in:
parent
18b2e2e64c
commit
64ecdbcabd
1 changed files with 10 additions and 0 deletions
|
|
@ -8,3 +8,13 @@
|
|||
when: kernel_parameters is defined and bootloader == 'grub'
|
||||
notify:
|
||||
- rebuild grub
|
||||
|
||||
- name: Disable Grub submenus
|
||||
lineinfile:
|
||||
dest: /etc/default/grub
|
||||
regexp: '^GRUB_DISABLE_SUBMENU'
|
||||
state: present
|
||||
line: 'GRUB_DISABLE_SUBMENU=y'
|
||||
when: bootloader == 'grub'
|
||||
notify:
|
||||
- rebuild grub
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue