From bb69aff14ddcd999aa55c660ea31bfacb77c86e6 Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Wed, 31 Mar 2021 16:09:55 +0200 Subject: [PATCH] docs: clarify `netroot=dhcp` `root=dhcp` does not work with systemd, so `netroot=dhcp` should be used. --- dracut.cmdline.7.asc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/dracut.cmdline.7.asc b/dracut.cmdline.7.asc index 35a17c249..7a85bfcca 100644 --- a/dracut.cmdline.7.asc +++ b/dracut.cmdline.7.asc @@ -576,7 +576,7 @@ USB Android phone:: ===================== **ip=**__{dhcp|on|any|dhcp6|auto6|either6|link6|single-dhcp}__:: - dhcp|on|any::: get ip from dhcp server from all interfaces. If root=dhcp, + dhcp|on|any::: get ip from dhcp server from all interfaces. If netroot=dhcp, loop sequentially through all interfaces (eth0, eth1, ...) and use the first with a valid DHCP root-path. @@ -707,7 +707,7 @@ NFS ":" or "," and are separated by ",". **root=**nfs:\[__:]____[:____], **root=**nfs4:\[__:]____[:____], **root=**__{dhcp|dhcp6}__:: - root=dhcp alone directs initrd to look at the DHCP root-path where NFS + netroot=dhcp alone directs initrd to look at the DHCP root-path where NFS options can be specified. + [listing] @@ -909,8 +909,8 @@ NOTE: If "exportname" instead of "port" is given the standard port is used. Newer versions of nbd are only supported with "exportname". -**root=dhcp** with **dhcp** **root-path=**nbd:____:____[:____[:____[:____]]]:: - root=dhcp alone directs initrd to look at the DHCP root-path where NBD +**root=/dev/root netroot=dhcp** with **dhcp** **root-path=**nbd:____:____[:____[:____[:____]]]:: + netroot=dhcp alone directs initrd to look at the DHCP root-path where NBD options can be specified. This syntax is only usable in cases where you are directly mounting the volume as the rootfs. + -- 2.47.3