Repository :
http://git.fedorahosted.org/cgit/docs/networking-guide.git
On branch : master
---------------------------------------------------------------
commit a3f48435653424c13bd326c26472fd51267ee0f8
Author: Stephen Wadeley <swadeley(a)redhat.com>
Date: Mon Aug 17 22:30:33 2015 +0200
Change to grubby command
Editing the grub.cfg file is not a simple matter.
Using the grubby tool is the safer way.
---------------------------------------------------------------
en-US/Consistent_Network_Device_Naming.xml | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/en-US/Consistent_Network_Device_Naming.xml
b/en-US/Consistent_Network_Device_Naming.xml
index e7dea16..e1879d0 100644
--- a/en-US/Consistent_Network_Device_Naming.xml
+++ b/en-US/Consistent_Network_Device_Naming.xml
@@ -426,12 +426,12 @@ The name provided by <systemitem
class="daemon">systemd-udev</systemitem> will b
</listitem>
<listitem>
<para>
- Add the following line to the <filename>/etc/default/grub</filename>
file:
+ Append the following directive to the kernel command line in the GRUB 2 menu:
<synopsis>net.ifnames=0</synopsis>
- or pass it to the kernel at boot time using the GRUB2 command-line
interface.</para>
- <note>
- <para>Changes to <filename>/etc/default/grub</filename> require
rebuilding the <filename>grub.cfg</filename> file using the
<command>grub2-mkconfig -o</command> command. For more information about GRUB2
see the <citetitle pubwork="book">&MAJOROSVER; System
Administrator's Guide</citetitle>.</para>
- </note>
+ To update all the GRUB 2 kernel menu entries, enter a command as <systemitem
class="username">root</systemitem> as follows:
+ <screen>~]# <command>grubby --update-kernel=ALL
--args=net.ifnames=0</command></screen>
+ For more information about working with GRUB 2 see the <citetitle
pubwork="book">&MAJOROSVER; System Administrator's
Guide</citetitle>.
+ </para>
</listitem>
</itemizedlist>
</para>