28 lines
1.6 KiB
Diff
28 lines
1.6 KiB
Diff
From b3d838e5d0f763beb9bb8b6ed6a28ad00eee9ff2 Mon Sep 17 00:00:00 2001
|
|
From: Anton Blanchard <anton@samba.org>
|
|
Date: Tue, 27 Dec 2011 09:08:28 +1100
|
|
Subject: [PATCH] server-id in ip= is not optional
|
|
|
|
The documentation suggests that server-id is an optional argument
|
|
but ip_to_var fails if it is not specified. Fix the documentation.
|
|
---
|
|
dracut.cmdline.7.xml | 4 ++--
|
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/dracut.cmdline.7.xml b/dracut.cmdline.7.xml
|
|
index 9357e25..87fb4ad 100644
|
|
--- a/dracut.cmdline.7.xml
|
|
+++ b/dracut.cmdline.7.xml
|
|
@@ -452,9 +452,9 @@ with a valid DHCP root-path.</para>
|
|
</listitem>
|
|
</varlistentry>
|
|
<varlistentry>
|
|
- <term><envar>ip=</envar><replaceable><client-IP></replaceable>:<optional>
|
|
+ <term><envar>ip=</envar><replaceable><client-IP></replaceable>:
|
|
<replaceable><server-id></replaceable>
|
|
- </optional>:<replaceable><gateway-IP></replaceable>:<replaceable><netmask></replaceable>:<replaceable><client_hostname></replaceable>:<replaceable><interface></replaceable>:<replaceable>{none|off}</replaceable></term>
|
|
+ :<replaceable><gateway-IP></replaceable>:<replaceable><netmask></replaceable>:<replaceable><client_hostname></replaceable>:<replaceable><interface></replaceable>:<replaceable>{none|off}</replaceable></term>
|
|
<listitem>
|
|
<para>explicit network configuration. If you want do define a IPv6 address, put it in brackets (e.g. [2001:DB8::1]).
|
|
This parameter can be specified multiple times.</para>
|