33 lines
1.5 KiB
Diff
33 lines
1.5 KiB
Diff
From e03b09212aaf33eab2dc8a330053448810c3546d Mon Sep 17 00:00:00 2001
|
|
From: Harald Hoyer <harald@redhat.com>
|
|
Date: Tue, 9 Sep 2014 13:35:13 +0200
|
|
Subject: [PATCH] replaced ip=auto with ip=dhcp in the documentation
|
|
|
|
https://bugzilla.redhat.com/show_bug.cgi?id=1086931
|
|
---
|
|
dracut.usage.asc | 4 ++--
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/dracut.usage.asc b/dracut.usage.asc
|
|
index 0b874e60..bee9e2e1 100644
|
|
--- a/dracut.usage.asc
|
|
+++ b/dracut.usage.asc
|
|
@@ -209,7 +209,7 @@ be specified once.
|
|
----
|
|
# mkdir -p rd.live.overlay/etc/cmdline.d
|
|
# mkdir -p rd.live.overlay/etc/conf.d
|
|
-# echo "ip=auto" >> rd.live.overlay/etc/cmdline.d/mycmdline.conf
|
|
+# echo "ip=dhcp" >> rd.live.overlay/etc/cmdline.d/mycmdline.conf
|
|
# echo export FOO=testtest >> rd.live.overlay/etc/conf.d/testvar.conf
|
|
# echo export BAR=testtest >> rd.live.overlay/etc/conf.d/testvar.conf
|
|
# tree rd.live.overlay/
|
|
@@ -261,7 +261,7 @@ How to setup your PXE/TFTP server can be found in the
|
|
http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/[Red
|
|
Hat Enterprise Linux Storage Administration Guide].
|
|
|
|
-If you specify ip=auto on the kernel command line, then dracut asks a dhcp
|
|
+If you specify ip=dhcp on the kernel command line, then dracut asks a dhcp
|
|
server about the ip adress for the machine. The dhcp server can also serve an
|
|
additional root-path, which will set the root device for dracut. With this
|
|
mechanism, you have static configuration on your client machine and a
|