From 426225c9c03230c46b0a2e4930febcc9820ab5c9 Mon Sep 17 00:00:00 2001
From: Marcin Krol <hawk@tld-linux.org>
Date: Thu, 17 May 2018 22:37:42 +0000
Subject: [PATCH] - disable predictable interface names and bios device names
 via kernel   commandline (just in case, we have it disabled by default
 anyway)

---
 grub.sysconfig | 2 +-
 grub2.spec     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

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
-- 
2.49.0