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><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> -- To unsubscribe from this list: send the line "unsubscribe initramfs" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html