Skip to content

Commit

Permalink
fedora: set grub2 timeout to 5 seconds for the minimal raw image type
Browse files Browse the repository at this point in the history
The org.osbuild.grub2 stage has a default timeout of 0 seconds, but Fedora
images set this value to 5 instead. Let's do the same for minimal images.
  • Loading branch information
martinezjavier authored and supakeen committed Mar 21, 2024
1 parent 5538c28 commit d63870f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/distro/fedora/distro.go
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,10 @@ var (
// NOTE: temporary workaround for a bug in initial-setup that
// requires a kickstart file in the root directory.
Files: []*fsnode.File{initialSetupKickstart()},
Grub2Config: &osbuild.GRUB2Config{
// Overwrite the default Grub2 timeout value.
Timeout: 5,
},
},
rpmOstree: false,
kernelOptions: defaultKernelOptions,
Expand Down

0 comments on commit d63870f

Please sign in to comment.