mirror of
https://github.com/inspec/inspec
synced 2024-12-18 09:03:12 +00:00
944dfdc987
* Fix `grub_conf` menuentry detection This does the following: - Corrects Grub2 bug where last entry was always selected - Adds support for specifying a Grub2 menu entry by name - Adds support for using `GRUB_DEFAULT=saved` with Grub2 - Adds more Unit tests * Add error if menuentry name cannot be extracted * Add handling for missing/unreadable grubenv * Add defensive code for failed menuentry extraction
6 lines
213 B
Text
6 lines
213 B
Text
GRUB_TIMEOUT=5
|
|
GRUB_DEFAULT=saved
|
|
GRUB_DISABLE_SUBMENU=true
|
|
GRUB_TERMINAL_OUTPUT="console"
|
|
GRUB_CMDLINE_LINUX="rd.lvm.lv=centos/root rd.lvm.lv=centos/swap crashkernel=auto rhgb quiet"
|
|
GRUB_DISABLE_RECOVERY="true"
|