X-Git-Url: https://git.tld-linux.org/?p=packages%2Fgrub2.git;a=blobdiff_plain;f=grub.sysconfig;h=ba0af18e03558dc4fc71151449be6ddac2de5db3;hp=6d0d59998498689780b0e8c329e40563d9ca18bb;hb=HEAD;hpb=874c4add0aa91b4d5d5a6665790c95d9f8757d81 diff --git a/grub.sysconfig b/grub.sysconfig index 6d0d599..ba0af18 100644 --- a/grub.sysconfig +++ b/grub.sysconfig @@ -2,9 +2,9 @@ # # If you change this file, run 'update-grub' afterwards to update /boot/grub/grub.cfg. # -# To enable auto generation of /boot/grub/grub.conf on kernel package -# install, UPDATE_GRUB must be set to "yes". -#UPDATE_GRUB=yes +# To disable auto generation of /boot/grub/grub.conf on kernel package +# install/upgrade, UPDATE_GRUB must be set to "no". +#UPDATE_GRUB=no # Default entry to boot. Numeric value starting with 0. # Use special value 'saved' to stick with last booted entry. used with GRUB_SAVEDEFAULT @@ -13,14 +13,21 @@ GRUB_DEFAULT=0 # save_default_entry #GRUB_SAVEDEFAULT=true +# Boot the default entry this many seconds after the menu is displayed, unless a key +# is pressed. Set to 0 to boot immediately without displaying the menu, or to -1 to +# wait indefinitely. GRUB_TIMEOUT=15 +# Wait this many seconds for a key to be pressed before displaying the menu. +#GRUB_HIDDEN_TIMEOUT=15 + # Unless `GRUB_DISABLE_RECOVERY' is set to `true', two menu entries # will be generated for each Linux kernel: one default entry and one # entry for recovery mode. This option lists command-line arguments # to add only to the default menu entry, after those listed in # `GRUB_CMDLINE_LINUX'. -GRUB_CMDLINE_LINUX_DEFAULT="quiet panic=120" +# To disable IPv6 in kernel, append: ipv6.disable=1 +GRUB_CMDLINE_LINUX_DEFAULT="net.ifnames=0 biosdevname=0 panic=300 quiet" # Command-line arguments to add to menu entries for the Linux kernel. GRUB_CMDLINE_LINUX="" @@ -40,12 +47,10 @@ GRUB_CMDLINE_LINUX="" GRUB_DISABLE_RECOVERY="true" # Disable creating "advanced" submenus, just use flat list -GRUB_DISABLE_SUBMENU="true" - -# Control which initial ramdisk should grub-mkconfig prefer when searching -# default is initrd-*.gz created by geninitrd, uncomment to make it prefer -# initramfs-*.img created by dracut -#GRUB_PREFER_DRACUT="true" +GRUB_DISABLE_SUBMENU="y" # Uncomment to get a beep at grub start #GRUB_INIT_TUNE="480 440 1" + +# Disable restricted boot +GRUB_RESTRICTED="false"