Skip to content

Commit

Permalink
gf-set-platform: use console.cfg for preferred file name
Browse files Browse the repository at this point in the history
In coreos/fedora-coreos-tracker#1671 we
decided to have this file be `console.cfg` and not `30_console.cfg`.
  • Loading branch information
dustymabe committed Feb 19, 2024
1 parent 8202f1e commit fd5fa99
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/gf-set-platform
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@ coreos_gf upload "${tmpd}"/bls.conf "${blscfg_path}"

if [ -n "$rewrite_grub_cmds" ]; then
# Use the new console config written out by bootupd if it exists
if [ "$(coreos_gf exists /boot/grub2/30_console.cfg)" = "true" ]; then
grub_console_config_path='/boot/grub2/30_console.cfg'
if [ "$(coreos_gf exists /boot/grub2/console.cfg)" = "true" ]; then
grub_console_config_path='/boot/grub2/console.cfg'
else
grub_console_config_path='/boot/grub2/grub.cfg'
fi
Expand Down

0 comments on commit fd5fa99

Please sign in to comment.