Implement extended iscsi: rfc4173 syntax which allows specifying credentials
authorHans de Goede <hdegoede@redhat.com>
Fri, 31 Jul 2009 08:31:16 +0000 (10:31 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 31 Jul 2009 10:44:18 +0000 (12:44 +0200)
commit766968bb6f42472393b4afee668ddbf1fa7b394d
tree0e66284782effef00a1b7f56e8817fa410e35a31
parent123e04b23eb9d6c4a07bc092cc9e02724c7a4851
Implement extended iscsi: rfc4173 syntax which allows specifying credentials

As discussed before, it would be nice to be able to specify
the iscsi chap credentials inside the netroot=iscsi:.....
syntax, this patch implements this in a backwards compatible way, like
this:
iscsi:username:pass@127.0.0.1::3260::iqn.2009-01.com.example:testdisk
iscsi:username:pass:reverse:pass@127.0.0.1::3260::iqn.2009-01.com.example:test

The only downside is that the backwards compatibility is broken when there
is an @ in the iscsi target name (very unlikely), that can still be used,
but only like this:
iscsi:@192.168.1.100::3260::iqn.2009-01.com.example:testdi@sk
dracut.8
modules.d/95iscsi/iscsiroot