From 7b09a1b9ee02f4f7be623bed288ee03b4c60300a Mon Sep 17 00:00:00 2001 From: Harald Hoyer Date: Thu, 17 Jun 2010 17:03:38 +0200 Subject: [PATCH] dracut.8: add note about putting IPv6 addresses in brackets --- dracut.8 | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/dracut.8 b/dracut.8 index 4050541..1417c36 100644 --- a/dracut.8 +++ b/dracut.8 @@ -284,7 +284,7 @@ specify nameserver(s) to use .TP .BR root= "[:][:]" mount nfs share from :/, if no server-ip is given, -use dhcp next_server. +use dhcp next_server. if server-ip is an IPv6 address it has to be put in brackets, e.g. [fec0:0:a10:4000:3c67:6ff:fe1f:5904]. NFS options can be appended with the prefix ":" or "," and are seperated by ",". .TP .BR root= "nfs:[:][:]" @@ -327,6 +327,11 @@ http://tools.ietf.org/html/rfc4173 .BR root= "\%iscsi:[username:password\:[:reverse:password]@]\:[]\::[]\::[]\::[]\::" .ad e.g. root=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0 + +.ad l +If servername is an IPv6 address, it has to be put in brackets. + e.g. + root=iscsi:@[fec0:0:a10:4000:3c67:6ff:fe1f:5904]::::iqn.2009-06.dracut:target0 .TP .ad l .BR root= ??? " netroot=" "\%iscsi:[username:password[:reverse:password]@]\:[]\::[]\::[]\::[]\:: ..." @@ -337,6 +342,10 @@ multiple netroot options allow setting up multiple iscsi disks netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target0 netroot=iscsi:192.168.50.1::::iqn.2009-06.dracut:target1 +.ad l +If servername is an IPv6 address, it has to be put in brackets. + e.g. + netroot=iscsi:@[fec0:0:a10:4000:3c67:6ff:fe1f:5904]::::iqn.2009-06.dracut:target0 .TP .ad l .BR \%root= \%??? " \%iscsi_initiator=" \% " \%iscsi_target_name=" "" " \%iscsi_target_ip=" "" " \%iscsi_target_port=" "" " \%iscsi_target_group=" "" " \%iscsi_username=" "" " \%iscsi_password=" " \%iscsi_in_username=" "" " \%iscsi_in_password=" ""