Skip to content

Commit

Permalink
build_library/grub.cfg: Enable grub fallback behavior
Browse files Browse the repository at this point in the history
With secure boot a failed shim signature check will leave us stuck in grub.
Enable automatic fallback in that case.
  • Loading branch information
jepio committed Sep 10, 2024
1 parent ef430f5 commit d2f7016
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions build_library/grub.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ insmod all_video

# Default menuentry id and boot timeout
set default="flatcar"
# Retry default boot entry - this will decrement the gpt tries counter and
# switch to previous entry when all attempts are exhausted.
set fallback="0 0 0"
set timeout=1

# Default kernel args for root filesystem, console, and Flatcar.
Expand Down

0 comments on commit d2f7016

Please sign in to comment.