mkinitrd unification across distributions
 help / color / mirror / Atom feed
* [PATCH] server-id in ip= is not optional
@ 2011-10-31 11:29 Anton Blanchard
  0 siblings, 0 replies; only message in thread
From: Anton Blanchard @ 2011-10-31 11:29 UTC (permalink / raw)
  To: initramfs-u79uwXL29TY76Z2rM5mHXA


The documentation suggests that server-id is an optional argument
but ip_to_var fails if it is not specified. Fix the documentation.

---

diff --git a/dracut.kernel.7.xml b/dracut.kernel.7.xml
index 7cd7b81..990797e 100644
--- a/dracut.kernel.7.xml
+++ b/dracut.kernel.7.xml
@@ -444,9 +444,9 @@ with a valid DHCP root-path.</para>
           </listitem>
         </varlistentry>
         <varlistentry>
-          <term><envar>ip=</envar><replaceable>&lt;client-IP&gt;</replaceable>:<optional>
+          <term><envar>ip=</envar><replaceable>&lt;client-IP&gt;</replaceable>:
               <replaceable>&lt;server-id&gt;</replaceable>
-            </optional>:<replaceable>&lt;gateway-IP&gt;</replaceable>:<replaceable>&lt;netmask&gt;</replaceable>:<replaceable>&lt;client_hostname&gt;</replaceable>:<replaceable>&lt;interface&gt;</replaceable>:<replaceable>{none|off}</replaceable></term>
+            :<replaceable>&lt;gateway-IP&gt;</replaceable>:<replaceable>&lt;netmask&gt;</replaceable>:<replaceable>&lt;client_hostname&gt;</replaceable>:<replaceable>&lt;interface&gt;</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>

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-31 11:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-10-31 11:29 [PATCH] server-id in ip= is not optional Anton Blanchard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox