mirror of
https://github.com/kairos-io/packages.git
synced 2025-08-17 15:38:10 +00:00
Set default kernel/initramfs vars in the generic grub.cfg (#408)
You can still override them via the usual bootargs.cfg in your distro, but it would be good to have the defaults already int he file in case we cant load the bootargs file or its missing, it has sane defaults Signed-off-by: Itxaka <itxaka@kairos.io>
This commit is contained in:
parent
faa3b574a5
commit
14f5244eae
@ -1,3 +1,3 @@
|
||||
name: "grub-config"
|
||||
category: "static"
|
||||
version: "0.6"
|
||||
version: "0.7"
|
||||
|
@ -1,5 +1,10 @@
|
||||
set timeout=10
|
||||
|
||||
# set default values for kernel, initramfs
|
||||
# Other files can still override this
|
||||
set kernel=/boot/vmlinuz
|
||||
set initramfs=/boot/initrd
|
||||
|
||||
# Load custom env file
|
||||
set env_file="/grubenv"
|
||||
search --no-floppy --file --set=env_blk "${env_file}"
|
||||
|
Loading…
Reference in New Issue
Block a user