From: Marcin Krol Date: Thu, 17 May 2018 22:37:42 +0000 (+0000) Subject: - disable predictable interface names and bios device names via kernel X-Git-Url: https://git.tld-linux.org/?p=packages%2Fgrub2.git;a=commitdiff_plain;h=426225c9c03230c46b0a2e4930febcc9820ab5c9 - disable predictable interface names and bios device names via kernel commandline (just in case, we have it disabled by default anyway) --- diff --git a/grub.sysconfig b/grub.sysconfig index 7b1699d..0402e1d 100644 --- a/grub.sysconfig +++ b/grub.sysconfig @@ -27,7 +27,7 @@ GRUB_TIMEOUT=15 # to add only to the default menu entry, after those listed in # `GRUB_CMDLINE_LINUX'. # To disable IPv6 in kernel, append: ipv6.disable=1 -GRUB_CMDLINE_LINUX_DEFAULT="panic=300 quiet" +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="" diff --git a/grub2.spec b/grub2.spec index 471a99b..a66ca90 100644 --- a/grub2.spec +++ b/grub2.spec @@ -38,7 +38,7 @@ Summary(pl.UTF-8): GRUB2 - bootloader dla x86 Summary(pt_BR.UTF-8): Gerenciador de inicialização GRUB2 Name: grub2 Version: 2.02 -Release: 1 +Release: 2 License: GPL v2 Group: Base Source0: ftp://ftp.gnu.org/gnu/grub/grub-%{version}.tar.xz